diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ee117ba7..b8c3beee 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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