From fd23854cd8b9a582c240573869709c0defe6b322 Mon Sep 17 00:00:00 2001 From: Tom White Date: Mon, 29 Apr 2024 17:12:10 +0100 Subject: [PATCH] Don't run code coverage on Windows --- .github/workflows/tests.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6e93da8b..b871510e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -50,4 +50,9 @@ jobs: - name: Run tests run: | - pytest -v --cov=cubed --cov-report=term-missing --cov-fail-under=90 + if [ "$RUNNER_OS" == "Windows" ]; then + pytest -v + else + pytest -v --cov=cubed --cov-report=term-missing --cov-fail-under=90 + fi + shell: bash