diff --git a/.github/workflows/on-call-reminder.yml b/.github/workflows/on-call-reminder.yml index 1798be663..4a7e75882 100644 --- a/.github/workflows/on-call-reminder.yml +++ b/.github/workflows/on-call-reminder.yml @@ -11,10 +11,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.12' diff --git a/.github/workflows/run-coverage.yml b/.github/workflows/run-coverage.yml index 7ec93f84f..34344184c 100644 --- a/.github/workflows/run-coverage.yml +++ b/.github/workflows/run-coverage.yml @@ -22,7 +22,7 @@ jobs: strategy: fail-fast: true matrix: - python-version: ["3.11"] + python-version: ["3.12"] os: [ubuntu-latest] extras: ["test-full"] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 2a5bb55d1..f24b21dd8 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -34,8 +34,11 @@ jobs: fail-fast: true matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] - os: [ubuntu-latest, windows-latest] - extras: ["test", "test-full"] + os: [ubuntu-latest, windows-latest, macos-13, macos-latest] + include: + # Only run slow tests on the latest version of Python + - python-version: "3.12" + slow: true runs-on: ${{ matrix.os }} steps: @@ -63,8 +66,8 @@ jobs: - name: Install Scenic and dependencies run: | - python -m pip install -e ".[${{ matrix.extras }}]" + python -m pip install -e ".[test-full]" - name: Run pytest run: | - pytest ${{ inputs.options || '--no-graphics' }} + pytest ${{ inputs.options || (matrix.slow && '--no-graphics' || '--fast --no-graphics') }}