Skip to content

Commit 9b73c63

Browse files
committed
CI command fixed
1 parent 1be8f9a commit 9b73c63

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,16 @@ jobs:
4444
- name: Install test dependencies
4545
run: pip install scipy coverage
4646

47-
- name: Execute tests
47+
- name: Execute tests and generate code coverage data
4848
run: |
4949
cd test
5050
coverage run --source ../pylanczos/ -m unittest discover ./ -v
51-
52-
- name: Generate code coverage data
53-
run: coverage xml
51+
coverage xml
5452
5553
- name: Upload coverage data to Codecov
5654
if: ${{ matrix.os == 'ubuntu-latest' }}
5755
uses: codecov/codecov-action@v1
5856
with:
5957
token: ${{ secrets.CODECOV_TOKEN }}
60-
file: ./coverage.xml
58+
file: ./test/coverage.xml
6159
fail_ci_if_error: true

0 commit comments

Comments
 (0)