Skip to content

Commit

Permalink
Run on macos-15 in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
WillGibson committed Jan 15, 2025
1 parent de1020d commit 39a748f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,36 @@ jobs:
# run: python -m pytest
run: python -m pytest -vvv --capture=no tests/test_mutation.py::test_run_forced_fail_test_with_failing_test
continue-on-error: false

tests-mac-os:
name: Test Python ${{ matrix.python-version }} on MacOS
# Todo: Revert to ubuntu-latest when Python 3.7 support no longer needed
runs-on: macos-15
strategy:
fail-fast: false
matrix:
python-version: ["3.13", "3.12", "3.11", "3.10", "3.9", "3.8", "3.7"]
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test_requirements.txt
- name: Run tests TEMP
# run: python -m pytest
run: python -m pytest -vvv --capture=no tests/test_mutation.py::test_run_forced_fail_test_with_failing_test_TEMP
continue-on-error: false

- name: Run tests
# run: python -m pytest
run: python -m pytest -vvv --capture=no tests/test_mutation.py::test_run_forced_fail_test_with_failing_test
continue-on-error: false

0 comments on commit 39a748f

Please sign in to comment.