Skip to content

Commit

Permalink
CI: Actually run tests on macOS
Browse files Browse the repository at this point in the history
Commit 4094cf2 moved the CI from using macos-latest to macos-10.15, but
there were a few other places in ci.yml which also needed to be changed.
Without these changes, the CI system was not actually running pytest on
macOS.

Fix this.
  • Loading branch information
alexdewar committed Aug 1, 2022
1 parent 1c253e3 commit 7187d54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
sudo apt -y install libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libsdl2-2.0-0 libgtk2.0-0
- name: Install MacOS dependencies
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-10.15'
run: conda install python.app

- name: Install dependencies
Expand All @@ -71,7 +71,7 @@ jobs:
xvfb-run -a python -m pytest
- name: Test with pytest (MacOS)
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-10.15'
run: |
pythonw -m pytest
Expand Down

0 comments on commit 7187d54

Please sign in to comment.