Skip to content

Commit

Permalink
Merge pull request #94 from Merinorus/fix-macos-ci-workers
Browse files Browse the repository at this point in the history
Fix CI on macOS runners
  • Loading branch information
yctomwang authored Jul 13, 2024
2 parents c0dfd89 + a1882a1 commit 8595fa8
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,22 @@ jobs:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
os: [ubuntu-latest, macOS-latest]
exclude: # Python 3.7 is not supported on Apple ARM64
- python-version: "3.7"
os: macos-latest
include: # Python 3.7 is tested with a x86 macOS version
- python-version: "3.7"
os: macos-13

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: requirements/*.pip
- name: Install dependencies
if: steps.cache-pip.outputs.cache-hit != 'true'
run: |
python -m pip install --upgrade pip
pip install -r requirements/test.pip
Expand Down

0 comments on commit 8595fa8

Please # to comment.