Skip to content

Commit ac0fac5

Browse files
authored
Update tests.yml
1 parent 0db4578 commit ac0fac5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232
if: matrix.optional-dependencies == 'optional-deps'
3333
run: pip install -e .[optional]
3434
- name: Run tests and generate coverage report
35-
run: coverage run
35+
run: pytest --cov=./ --cov-report=xml
3636
- run: |
3737
ls -la .
3838
ls -la ./.coverage
39-
ls -la ./.coverage/reports
39+
ls -la ./.coverage/reports || true
4040
- name: Upload coverage to Codecov
4141
uses: codecov/codecov-action@v4
4242
with:

0 commit comments

Comments
 (0)