Skip to content

Commit da6e08a

Browse files
committed
Use Python codecov package instead of GH action
We can't set the working directory of the GH Action which means we need to install codecov ourselves and run it in the `tests/` sub-directory.
1 parent 79325be commit da6e08a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@ jobs:
117117
cd tests
118118
pytest --durations 10 --cov repo2docker -v ${{ matrix.repo_type }}
119119
120-
# Action Repo: https://github.com/codecov/codecov-action
121-
- uses: codecov/codecov-action@v1
122-
working-directory: ./tests
123-
with:
124-
directory: ./tests
120+
- name: "Upload code coverage stats"
121+
run: |
122+
pip install codecov
123+
pushd tests && codecov && popd

0 commit comments

Comments
 (0)