Skip to content

Commit

Permalink
ci: use ubuntu 20.04 for py37 runs (ubuntu-latest is now 24.04 which …
Browse files Browse the repository at this point in the history
…dropped py37)
  • Loading branch information
chanshing committed Dec 18, 2024
1 parent a65f9f8 commit 10ded64
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cwa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ jobs:
os: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]

exclude: # python <= 3.7 no longer supported in latest operating systems
- python-version: "3.7"
include: # use older ubuntu for python 3.7
- python-version: "3.7"
os: ubuntu-20.04

steps:
- uses: actions/checkout@v4

Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
# https://github.com/actions/runner-images/issues/9770#issuecomment-2085623315
exclude: # Python < v3.8 does not support Apple Silicon ARM64.

exclude: # python <= 3.7 no longer supported in latest operating systems
- python-version: "3.7"
os: macos-latest
include: # So run those legacy versions on Intel CPUs.
include: # use older macos for python 3.7
- python-version: "3.7"
os: macos-13
include: # use older ubuntu for python 3.7
- python-version: "3.7"
os: ubuntu-20.04

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 10ded64

Please sign in to comment.