aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2024-05-25 01:37:04 +0100
committerGravatar GitHub <[email protected]>2024-05-25 01:37:04 +0100
commit19c3b1daf79f33537a186b041c35cfdd1955faf4 (patch)
treea8fc64bd8135d2bd5d41ed3d9d1f5c127c00c991
parentUse COVERAGE_CORE=sysmon when running tests in CI (diff)
Specify environment variable using env block
Co-authored-by: Joe Banks <[email protected]>
-rw-r--r--.github/workflows/lint-test.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/lint-test.yml b/.github/workflows/lint-test.yml
index 312c34f79..55a71d591 100644
--- a/.github/workflows/lint-test.yml
+++ b/.github/workflows/lint-test.yml
@@ -53,7 +53,10 @@ jobs:
run: "ruff check --output-format=github ."
- name: Run tests and generate coverage report
- run: COVERAGE_CORE=sysmon pytest -n auto --cov -q
+ 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