Skip to content

Commit

Permalink
fix: support macos-14, avoid macos-latest (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Apr 24, 2024
1 parent dd2f9fd commit 1381a40
Show file tree
Hide file tree
Showing 5 changed files with 16 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
3 changes: 2 additions & 1 deletion {{cookiecutter.project_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ pytest-cov = { version = ">=3", optional = true }
sphinx = { version = ">=7.0", optional = true }
sphinx_copybutton = { version = ">=0.3.0", optional = true }
sphinx-autodoc-typehints = { version = "*", optional = true }
docutils = { version = "!=0.21.post1", optional = true }

[tool.poetry.dev-dependencies]
pytest = ">= 6"
Expand All @@ -136,6 +137,7 @@ docs = [
"sphinx",
"sphinx_autodoc_typehints",
"sphinx_copybutton",
"docutils",
]

{%- if cookiecutter.vcs %}
Expand Down Expand Up @@ -297,7 +299,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 1381a40

Please sign in to comment.