Skip to content

Commit 4584936

Browse files
Merge pull request #440 from Pylons/fix/ci
Attempt to fix the MacOS CI situation
2 parents 0ce6ae1 + 52ad4ba commit 4584936

File tree

1 file changed

+38
-16
lines changed

1 file changed

+38
-16
lines changed

.github/workflows/ci-tests.yml

Lines changed: 38 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- main
88
- "[0-9].[0-9]+-branch"
99
tags:
10+
- "*"
1011
# Build pull requests
1112
pull_request:
1213

@@ -25,34 +26,55 @@ jobs:
2526
- "pypy-3.10"
2627
# Pre-release
2728
os:
28-
- "ubuntu-latest"
29+
- "ubuntu-22.04"
2930
- "windows-latest"
30-
- "macos-latest"
31+
- "macos-14" # arm64
32+
- "macos-13" # x64
3133
architecture:
3234
- x64
3335
- x86
36+
- arm64
3437
include:
35-
- py: "pypy-3.8"
36-
toxenv: "pypy38"
37-
- py: "pypy-3.9"
38-
toxenv: "pypy39"
39-
- py: "pypy-3.10"
40-
toxenv: "pypy310"
38+
- py: "pypy-3.8"
39+
toxenv: "pypy38"
40+
- py: "pypy-3.9"
41+
toxenv: "pypy39"
42+
- py: "pypy-3.10"
43+
toxenv: "pypy310"
4144
exclude:
42-
# Linux and macOS don't have x86 python
43-
- os: "ubuntu-latest"
45+
# Ubuntu does not have x86/arm64 Python
46+
- os: "ubuntu-22.04"
4447
architecture: x86
45-
- os: "macos-latest"
48+
- os: "ubuntu-22.04"
49+
architecture: arm64
50+
# MacOS we need to make sure to remove x86 on all, but x64
51+
# on the arm runners and arm64 on the x64 runners
52+
- os: "macos-13"
4653
architecture: x86
54+
- os: "macos-13"
55+
architecture: arm64
56+
- os: "macos-14"
57+
architecture: x86
58+
- os: "macos-14"
59+
architecture: x64
60+
- os: "macos-14"
61+
py: "3.8"
62+
# Windows does not have arm64 releases
63+
- os: "windows-latest"
64+
architecture: arm64
4765
# Don't run all PyPy versions except latest on
4866
# Windows/macOS. They are expensive to run.
4967
- os: "windows-latest"
5068
py: "pypy-3.8"
51-
- os: "macos-latest"
69+
- os: "macos-13"
5270
py: "pypy-3.8"
5371
- os: "windows-latest"
5472
py: "pypy-3.9"
55-
- os: "macos-latest"
73+
- os: "macos-13"
74+
py: "pypy-3.9"
75+
- os: "macos-14"
76+
py: "pypy-3.8"
77+
- os: "macos-14"
5678
py: "pypy-3.9"
5779

5880
name: "Python: ${{ matrix.py }}-${{ matrix.architecture }} on ${{ matrix.os }}"
@@ -75,7 +97,7 @@ jobs:
7597
run: tox -e py
7698

7799
coverage:
78-
runs-on: ubuntu-latest
100+
runs-on: ubuntu-22.04
79101
name: Validate coverage
80102
steps:
81103
- uses: actions/checkout@v4
@@ -88,7 +110,7 @@ jobs:
88110
- run: pip install tox
89111
- run: tox -e py310,coverage
90112
docs:
91-
runs-on: ubuntu-latest
113+
runs-on: ubuntu-22.04
92114
name: Build the documentation
93115
steps:
94116
- uses: actions/checkout@v4
@@ -100,7 +122,7 @@ jobs:
100122
- run: pip install tox
101123
- run: tox -e docs
102124
lint:
103-
runs-on: ubuntu-latest
125+
runs-on: ubuntu-22.04
104126
name: Lint the package
105127
steps:
106128
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy