Skip to content

Commit

Permalink
CI: Set COVERAGE_CORE to speed up tests
Browse files Browse the repository at this point in the history
Sets `COVERAGE_CORE` to "sysmon" to speed up testing on Python 3.12.
The "normal" setting is very slow on Python 3.12 when also checking the
line coverage.
  • Loading branch information
st-bender committed Apr 9, 2024
1 parent 3121b9a commit e8e43ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ jobs:
- name: Test
run: |
py.test -v --doctest-glob='*.md' --cov src
env:
COVERAGE_CORE: sysmon
- name: Convert coverage
run: python -m coverage xml
- name: Upload coverage report
Expand Down

0 comments on commit e8e43ce

Please sign in to comment.