Skip to content

Commit f62d4e0

Browse files
committed
ci: simplify logic to run codecov like in jupyterhub
1 parent d29af17 commit f62d4e0

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,10 @@ jobs:
124124
125125
pip freeze
126126
127-
- name: Run tests
127+
- name: Run pytest
128128
run: |
129-
cd tests
130-
pytest --verbose --color=yes --durations=10 --cov=repo2docker ./${{ matrix.repo_type }}
129+
pytest --verbose --color=yes --durations=10 --cov=repo2docker tests/${{ matrix.repo_type }}
131130
132-
- name: Upload code coverage stats
131+
- name: Submit codecov report
133132
run: |
134-
pip install codecov
135-
pushd tests && codecov && cat
136-
cat /home/runner/work/repo2docker/repo2docker/tests/coverage.xml
133+
codecov

0 commit comments

Comments
 (0)