Skip to content

Commit 36d0247

Browse files
committed
upgrade github actions to newer os versions
- macos: 11, 12 → 14, 15 - ubuntu: 20.04 → 24.04, add 22.04 - windows: 2019 → 2025, keep 2022 - update pre-commit to ubuntu-24.04
1 parent 35b6d26 commit 36d0247

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/github-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66

77
pre-commit:
88

9-
runs-on: ubuntu-22.04
9+
runs-on: ubuntu-24.04
1010

1111
steps:
1212

@@ -40,12 +40,12 @@ jobs:
4040
fail-fast: false
4141
matrix:
4242
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9-v7.3.15"]
43-
os: [macos-11, macos-12, ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022]
43+
os: [macos-14, macos-15, ubuntu-22.04, ubuntu-24.04, windows-2025, windows-2022]
4444
exclude:
4545
# temporarily exclude pypy3 on mac-os as there failing tests caused by bug on cbc side
46-
- os: macos-11
46+
- os: macos-14
4747
python-version: "pypy3.9-v7.3.15"
48-
- os: macos-12
48+
- os: macos-15
4949
python-version: "pypy3.9-v7.3.15"
5050

5151
steps:
@@ -81,7 +81,7 @@ jobs:
8181
run: python -m pip install .[gurobi]
8282

8383
- name: Install highs
84-
if: ${{ !contains(matrix.os, 'windows') && !(matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.9') }}
84+
if: ${{ !contains(matrix.os, 'windows') && !(contains(matrix.os, 'ubuntu') && matrix.python-version == '3.9') }}
8585
run: python -m pip install .[highs]
8686

8787
- name: list installed packages

0 commit comments

Comments
 (0)