Skip to content

Commit

Permalink
fix: support macos-14, avoid macos-latest
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed Apr 24, 2024
1 parent dd2f9fd commit 2f3f895
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/reusable-cookie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.8", "3.12"]
runs-on: [ubuntu-latest, macos-latest, windows-latest]
runs-on: [ubuntu-latest, windows-latest]

include:
- python-version: pypy-3.9
runs-on: ubuntu-latest
- python-version: "3.8"
runs-on: macos-13
- python-version: "3.12"
runs-on: macos-14

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-rr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12-dev"]
runs-on: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12"]
runs-on: [ubuntu-latest, macos-14, windows-latest]

steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 6 additions & 2 deletions {{cookiecutter.project_name}}/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,15 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.8", "3.12"]
runs-on: [ubuntu-latest, macos-latest, windows-latest]
runs-on: [ubuntu-latest, windows-latest]

include:
- python-version: pypy-3.10
- python-version: "pypy-3.10"
runs-on: ubuntu-latest
- python-version: "3.8"
runs-on: macos-13
- python-version: "3.12"
runs-on: macos-14

steps:
- uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-13, macos-14]

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 0 additions & 1 deletion {{cookiecutter.project_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ write_to = "src/{{ cookiecutter.__project_slug }}/_version.py"
[tool.cibuildwheel]
test-command = "pytest {project}/tests"
test-extras = ["test"]
test-skip = ["*universal2:arm64"]
{%- endif %}


Expand Down

0 comments on commit 2f3f895

Please sign in to comment.