Skip to content

Commit

Permalink
Revert "- experiment: use macos-12 runner instead of macos-latest"
Browse files Browse the repository at this point in the history
This reverts commit d4b13a0.
  • Loading branch information
dataflake committed May 18, 2024
1 parent d4b13a0 commit b68626b
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 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-12"]
- ["macos", "macos-latest"]
config:
# [Python version, tox env]
- ["3.9", "release-check"]
Expand All @@ -37,14 +37,17 @@ 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-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"] }
- { 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"] }
# macOS/Python 3.11+ is set up for universal2 architecture
# which causes build and package selection issues.
- { os: ["macos", "macos-12"], config: ["3.11", "py311"] }
- { os: ["macos", "macos-12"], config: ["3.12", "py312"] }
- { 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"] }

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 b68626b

Please sign in to comment.