Skip to content

Commit

Permalink
pin macos test runners to macos-12 (#1195) (#1196)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3bd44ac)
  • Loading branch information
mikealfare authored Apr 25, 2024
1 parent 642dd73 commit e98cdc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/integration-test-matrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module.exports = ({ context }) => {

if (labels.includes("test macos") || testAllLabel) {
include.push({
os: "macos-latest",
os: "macos-12",
adapter,
"python-version": pythonVersion,
});
Expand Down Expand Up @@ -78,7 +78,7 @@ module.exports = ({ context }) => {
// additionally include runs for all adapters, on macos and windows,
// but only for the default python version
for (const adapter of supportedAdapters) {
for (const operatingSystem of ["windows-latest", "macos-latest"]) {
for (const operatingSystem of ["windows-latest", "macos-12"]) {
include.push({
os: operatingSystem,
adapter: adapter,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-12, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']

steps:
Expand Down

0 comments on commit e98cdc5

Please sign in to comment.