Skip to content

Commit

Permalink
fix: run with python -m instead of coverage -m to fix the bug of …
Browse files Browse the repository at this point in the history
…reporting 0% coverage;
  • Loading branch information
WenjieDu committed Sep 21, 2023
1 parent 4dbccec commit f447b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/testing_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Test with pytest
run: |
rm -rf tests/__pycache__
coverage run --source=pypots -m pytest -rA tests/*/* -n auto --dist=loadgroup
python -m pytest -rA tests/*/* -n auto --cov=pypots --dist=loadgroup --cov-config=.coveragerc
- name: Generate the LCOV report
run: |
Expand Down

0 comments on commit f447b27

Please sign in to comment.