Skip to content

Commit 1343252

Browse files
authored
Update codecov execution (#575)
* Update codecov execution
1 parent 6517857 commit 1343252

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,14 @@ jobs:
5252
5353
- name: Test with pytest
5454
run: |
55-
coverage run -m pytest tests --cov=./servicex/ --cov-report=xml
55+
coverage run --source servicex/ -m pytest tests
56+
coverage xml
5657
5758
- name: Upload coverage to Codecov
5859
uses: codecov/codecov-action@v5
5960
with:
6061
token: ${{ secrets.CODECOV_TOKEN }}
61-
directory: ./coverage/reports/
6262
env_vars: OS,PYTHON
6363
files: ./coverage.xml
64+
disable_search: true
6465
flags: unittests

0 commit comments

Comments
 (0)