Skip to content

Commit

Permalink
- experiment: use macos-12 runner instead of macos-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed May 18, 2024
1 parent c35f983 commit d4b13a0
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
os:
- ["ubuntu", "ubuntu-latest"]
- ["windows", "windows-latest"]
- ["macos", "macos-latest"]
- ["macos", "macos-12"]
config:
# [Python version, tox env]
- ["3.9", "release-check"]
Expand All @@ -37,17 +37,14 @@ jobs:
- { os: ["windows", "windows-latest"], config: ["3.9", "lint"] }
- { os: ["windows", "windows-latest"], config: ["3.9", "docs"] }
- { os: ["windows", "windows-latest"], config: ["3.9", "coverage"] }
- { os: ["macos", "macos-latest"], config: ["3.7", "py37"] }
- { os: ["macos", "macos-latest"], config: ["3.9", "release-check"] }
- { os: ["macos", "macos-latest"], config: ["3.9", "lint"] }
- { os: ["macos", "macos-latest"], config: ["3.9", "docs"] }
- { os: ["macos", "macos-latest"], config: ["3.9", "coverage"] }
- { os: ["macos", "macos-12"], config: ["3.9", "release-check"] }
- { os: ["macos", "macos-12"], config: ["3.9", "lint"] }
- { os: ["macos", "macos-12"], config: ["3.9", "docs"] }
- { os: ["macos", "macos-12"], config: ["3.9", "coverage"] }
# macOS/Python 3.11+ is set up for universal2 architecture
# which causes build and package selection issues.
- { os: ["macos", "macos-latest"], config: ["3.11", "py311"] }
- { os: ["macos", "macos-latest"], config: ["3.12", "py312"] }
include:
- { os: ["macos", "macos-12"], config: ["3.7", "py37"] }
- { os: ["macos", "macos-12"], config: ["3.11", "py311"] }
- { os: ["macos", "macos-12"], config: ["3.12", "py312"] }

runs-on: ${{ matrix.os[1] }}
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
Expand Down

0 comments on commit d4b13a0

Please sign in to comment.