aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-05-25 02:04:40 +0100
committerGravatar GitHub <[email protected]>2024-05-25 02:04:40 +0100
commitd75e0cd328abdfa5420ed4db8f310227fab245af (patch)
treea8fc64bd8135d2bd5d41ed3d9d1f5c127c00c991
parentRemove space from command name (diff)
parentSpecify environment variable using env block (diff)
Merge pull request #3075 from python-discord/use-coverage-sysmon
Use COVERAGE_CORE=sysmon when running tests in CI
-rw-r--r--.github/workflows/lint-test.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/lint-test.yml b/.github/workflows/lint-test.yml
index 109f0959d..55a71d591 100644
--- a/.github/workflows/lint-test.yml
+++ b/.github/workflows/lint-test.yml
@@ -54,6 +54,9 @@ jobs:
- name: Run tests and generate coverage report
run: pytest -n auto --cov -q
+ env:
+ # Use "sys.monitoring" based coverage backend for better speed (see #3075)
+ COVERAGE_CORE: sysmon
# Prepare the Pull Request Payload artifact. If this fails, we
# we fail silently using the `continue-on-error` option. It's