Skip to content

Commit 1d379d4

Browse files
Work around missing pytest coverage module.
1 parent a564cb7 commit 1d379d4

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,16 @@ jobs:
4444
4545
- name: Run tests
4646
run: |
47-
make quick_test
48-
make test_coverage
47+
python -m pytest src
48+
if [ "${{ matrix.python-version }}" == "3.13" ]; then # workaround for TheKevJames/coveralls-python#523
49+
python -m pytest --no-cov src
50+
else
51+
python -m pytest src
52+
coverage erase
53+
pytest --cov=src/pyff
54+
mv .coverage .coverage.1
55+
coverage combine
56+
fi
57+
4958
#make typecheck
5059

0 commit comments

Comments
 (0)