Skip to content

Commit

Permalink
GHA: use PEP669's sys.monitoring for cov analysis
Browse files Browse the repository at this point in the history
Use PEP669's sys.monitoring for faster coverage analysis on GitHub Actions, if
available. This also fixes a significant regression in coverage analysis on
Python 3.12. Related issue: python/cpython#107674 .
  • Loading branch information
joostvanzwieten committed May 7, 2024
1 parent 32c267f commit 6e80c28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ jobs:
MKL_NUM_THREADS: 1
PYTHONHASHSEED: 0
NUTILS_TENSORIAL: ${{ matrix.tensorial }}
# Use PEP669's sys.monitoring for faster coverage analysis, if available.
# This also fixes a significant regression in coverage analysis on Python
# 3.12. Related issue: https://github.com/python/cpython/issues/107674 .
COVERAGE_CORE: sysmon
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 6e80c28

Please sign in to comment.