Skip to content

Update build-docs.yml #16

Update build-docs.yml

Update build-docs.yml #16

Workflow file for this run

---
name: MacOS tests
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
macos-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Monterey
os: [macos-12]
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install git+https://github.com/Farama-Foundation/PettingZoo.git@master
pip install -e .[testing]
- name: Set dummy SDL video driver
run: |
export SDL_VIDEODRIVER=dummy
- name: Full Python tests
run: |
pytest -v --cov=mpe --cov-report term