Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MacOS pygame no hardware accelerated device error #1190

Merged
merged 5 commits into from
Mar 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/macos-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,33 @@ name: MacOS tests

on:
push:
branches: [master]
branches: [none]

permissions:
contents: read

jobs:
macos-test:
runs-on: macos-11
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Big Sur, Monterey
os: [macos-11, macos-12]
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -e .[all]
pip install -e .[testing]
AutoROM -v
- name: Set dummy SDL video driver
run: |
export SDL_VIDEODRIVER=dummy
- name: Full Python tests
run: |
pytest -v --cov=pettingzoo --cov-report term
Loading