From 50794f1a4cf4dea6bb616bf3c44588bbad13fdef Mon Sep 17 00:00:00 2001 From: Brian Madden Date: Mon, 16 Oct 2023 12:36:54 +0200 Subject: [PATCH] Update run_tests.yml --- .github/workflows/run_tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index a5d45db6b..00e23e2b0 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -52,8 +52,9 @@ jobs: - name: Run tests # Oct 15 2023, "coverage" randomly is not recognized as valid on windows # even though you can see it being installed via pip (from coveralls)?!? + shell: bash # Need bash on windows to use the if statement run: | - if [ "${{ matrix.os }}" = "windows-latest" ]; then + if [ "${{ runner.os }}" == "Windows" ]; then python3 -m unittest discover -s mpf/tests else python3 -m coverage run -m unittest discover -s mpf/tests