Skip to content

Commit

Permalink
Update run_tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
toomanybrians committed Oct 16, 2023
1 parent 8c10b91 commit 50794f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 50794f1

Please sign in to comment.