From 19c3b1daf79f33537a186b041c35cfdd1955faf4 Mon Sep 17 00:00:00 2001 From: wookie184 Date: Sat, 25 May 2024 01:37:04 +0100 Subject: Specify environment variable using env block Co-authored-by: Joe Banks --- .github/workflows/lint-test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3