Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,29 +215,43 @@ jobs:
3.13.4,
3.13.5,
]
os: [ubuntu-22.04, macos-13, windows-latest]
os: [ubuntu-22.04, macos-13, windows-latest, ubuntu-22.04-arm]
# some versions of python can't be tested on GHA with osx because of SIP:
exclude:
- os: ubuntu-22.04
python-version: 3.6.7
- os: ubuntu-22.04-arm
python-version: 3.6.7
- os: windows-latest
python-version: 3.6.15
- os: ubuntu-22.04
python-version: 3.6.15
- os: ubuntu-22.04-arm
python-version: 3.6.15
- os: ubuntu-22.04
python-version: 3.7.1
- os: ubuntu-22.04-arm
python-version: 3.7.1
- os: windows-latest
python-version: 3.7.17
- os: ubuntu-22.04-arm
python-version: 3.7.17
- os: ubuntu-22.04
python-version: 3.8.0
- os: ubuntu-22.04-arm
python-version: 3.8.0
- os: windows-latest
python-version: 3.8.18
- os: ubuntu-22.04
python-version: 3.9.0
- os: ubuntu-22.04-arm
python-version: 3.9.0
- os: windows-latest
python-version: 3.9.23
- os: ubuntu-22.04
python-version: 3.10.0
- os: ubuntu-22.04-arm
python-version: 3.10.0
- os: windows-latest
python-version: 3.10.18
- os: macos-13
Expand Down
4 changes: 4 additions & 0 deletions ci/update_python_test_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ def update_python_test_versions():
exclusions.append(" - os: ubuntu-22.04\n")
exclusions.append(f" python-version: {v}\n")

if ("linux", "arm64") not in platforms[v]:
exclusions.append(" - os: ubuntu-22.04-arm\n")
exclusions.append(f" python-version: {v}\n")

first_exclude_line = lines.index(" exclude:\n", first_line)
last_exclude_line = lines.index("\n", first_exclude_line)
lines = lines[: first_exclude_line + 1] + exclusions + lines[last_exclude_line:]
Expand Down
Loading