File tree 1 file changed +12
-4
lines changed
1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -3,25 +3,33 @@ name: MacOS tests
3
3
4
4
on :
5
5
push :
6
- branches : [master ]
6
+ branches : [none ]
7
7
8
8
permissions :
9
9
contents : read
10
10
11
11
jobs :
12
12
macos-test :
13
- runs-on : macos-11
13
+ runs-on : ${{ matrix.os }}
14
+ strategy :
15
+ matrix :
16
+ # Big Sur, Monterey
17
+ os : [macos-11, macos-12]
18
+ python-version : ['3.8', '3.9', '3.10', '3.11']
14
19
steps :
15
20
- uses : actions/checkout@v4
16
- - name : Set up Python 3.11
21
+ - name : Set up Python ${{ matrix.python-version }}
17
22
uses : actions/setup-python@v4
18
23
with :
19
- python-version : 3.11
24
+ python-version : ${{ matrix.python-version }}
20
25
- name : Install dependencies
21
26
run : |
22
27
pip install -e .[all]
23
28
pip install -e .[testing]
24
29
AutoROM -v
30
+ - name : Set dummy SDL video driver
31
+ run : |
32
+ export SDL_VIDEODRIVER=dummy
25
33
- name : Full Python tests
26
34
run : |
27
35
pytest -v --cov=pettingzoo --cov-report term
You can’t perform that action at this time.
0 commit comments