Skip to content

Commit 3b22511

Browse files
committed
Conditionally disable coverage
1 parent b1c04c1 commit 3b22511

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test-python.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,12 @@ jobs:
7777
7878
- name: Run tests and report coverage
7979
if: github.ref_name != 'main'
80-
run: pytest --cov -n auto --dist loadgroup -m "not benchmark and not docs"
80+
env:
81+
# TODO: Re-enable coverage for for Ubuntu + Python 3.12 tests
82+
# Currently skipped due to performance issues in coverage:
83+
# https://github.com/nedbat/coveragepy/issues/1665
84+
COV: ${{ !(matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12') && '--cov' || '' }}
85+
run: pytest $COV -n auto --dist loadgroup -m "not benchmark and not docs"
8186

8287
- name: Run tests async reader tests
8388
if: github.ref_name != 'main' && matrix.os != 'windows-latest'

0 commit comments

Comments
 (0)