1 parent 1be8f9a commit 9b73c63Copy full SHA for 9b73c63
1 file changed
.github/workflows/ci.yml
@@ -44,18 +44,16 @@ jobs:
44
- name: Install test dependencies
45
run: pip install scipy coverage
46
47
- - name: Execute tests
+ - name: Execute tests and generate code coverage data
48
run: |
49
cd test
50
coverage run --source ../pylanczos/ -m unittest discover ./ -v
51
-
52
- - name: Generate code coverage data
53
- run: coverage xml
+ coverage xml
54
55
- name: Upload coverage data to Codecov
56
if: ${{ matrix.os == 'ubuntu-latest' }}
57
uses: codecov/codecov-action@v1
58
with:
59
token: ${{ secrets.CODECOV_TOKEN }}
60
- file: ./coverage.xml
+ file: ./test/coverage.xml
61
fail_ci_if_error: true
0 commit comments