From 0ee46d4de9001dd2a8be9ded56cebb54988a0df3 Mon Sep 17 00:00:00 2001 From: David Linke Date: Fri, 10 Jan 2025 22:29:28 +0100 Subject: [PATCH] Run tests in bash to fail actions correctly on Windows --- .github/workflows/main.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 973acf9c..e607750f 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -49,6 +49,8 @@ jobs: # coverage report #---------------------------------------------- - name: Generate coverage results + # Set bash shell to fail correctly on Windows https://github.com/actions/runner-images/issues/6668 + shell: bash run: | poetry run coverage run -m pytest poetry run coverage xml