Skip to content

Commit a8edb7c

Browse files
committed
Disable coveralls for Python 3.13
Due to TheKevJames/coveralls-python#523 we currently can't run coverage on Python 3.13. As we don't have version-dependent paths right now, this doesn't really make a difference.
1 parent 773be63 commit a8edb7c

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,21 @@ jobs:
2424
python -m pip install --upgrade pip
2525
python -m pip install -r requirements.txt
2626
python -m pip install --no-deps -e .
27-
python -m pip install coveralls
27+
if [ "${{ matrix.python-version }}" != "3.13" ]; then # workaround for TheKevJames/coveralls-python#523
28+
python -m pip install coveralls
29+
fi
2830
python -m pip freeze
2931
python -m pip --version
3032
python -c 'import setuptools; print(f"setuptools=={setuptools.__version__}")'
3133
- name: Test with pytest
3234
run: |
33-
pytest
35+
if [ "${{ matrix.python-version }}" == "3.13" ]; then
36+
pytest --no-cov # workaround for TheKevJames/coveralls-python#523
37+
else
38+
pytest
39+
fi
3440
- name: Upload coverage data
41+
if: matrix.python-version != '3.13' # workaround for TheKevJames/coveralls-python#523
3542
run: |
3643
coveralls --service=github
3744
env:

0 commit comments

Comments
 (0)