Skip to content

Commit 43ca3de

Browse files
Enable testing on 3.8 and 3.9 for macOS arm64 (#4041)
1 parent 44d946f commit 43ca3de

File tree

2 files changed

+3
-29
lines changed

2 files changed

+3
-29
lines changed

.github/workflows/run_periodic_tests.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,8 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
matrix:
47-
os: [ubuntu-latest, macos-12, windows-latest]
47+
os: [ubuntu-latest, macos-12, macos-14, windows-latest]
4848
python-version: ["3.9", "3.10", "3.11", "3.12"]
49-
# Include macOS M1 runners
50-
include:
51-
- os: macos-14
52-
python-version: "3.10"
53-
- os: macos-14
54-
python-version: "3.11"
55-
- os: macos-14
56-
python-version: "3.12"
57-
5849
steps:
5950
- name: Check out PyBaMM repository
6051
uses: actions/checkout@v4

.github/workflows/test_on_push.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,12 @@ jobs:
3636
strategy:
3737
fail-fast: false
3838
matrix:
39-
os: [ubuntu-latest, macos-12, windows-latest]
39+
os: [ubuntu-latest, macos-12, macos-14, windows-latest]
4040
python-version: ["3.9", "3.10", "3.11", "3.12"]
4141
# We check coverage on Ubuntu with Python 3.12, so we skip unit tests for it here
4242
exclude:
4343
- os: ubuntu-latest
4444
python-version: "3.12"
45-
# Include macOS M1 runners
46-
include:
47-
- os: macos-14
48-
python-version: "3.10"
49-
- os: macos-14
50-
python-version: "3.11"
51-
- os: macos-14
52-
python-version: "3.12"
5345
name: Unit tests (${{ matrix.os }} / Python ${{ matrix.python-version }})
5446

5547
steps:
@@ -184,18 +176,9 @@ jobs:
184176
strategy:
185177
fail-fast: false
186178
matrix:
187-
os: [ubuntu-latest, macos-12, windows-latest]
179+
os: [ubuntu-latest, macos-12, macos-14, windows-latest]
188180
python-version: ["3.9", "3.10", "3.11", "3.12"]
189-
# Include macOS M1 runners
190-
include:
191-
- os: macos-14
192-
python-version: "3.10"
193-
- os: macos-14
194-
python-version: "3.11"
195-
- os: macos-14
196-
python-version: "3.12"
197181
name: Integration tests (${{ matrix.os }} / Python ${{ matrix.python-version }})
198-
199182
steps:
200183
- name: Check out PyBaMM repository
201184
uses: actions/checkout@v4

0 commit comments

Comments
 (0)