Skip to content

Commit 1cb1025

Browse files
authored
ci(test.yml): migrate runners from ubuntu 24.04 to 26.04 (jxmorris12#185)
1 parent 409c43b commit 1cb1025

1 file changed

Lines changed: 25 additions & 24 deletions

File tree

.github/workflows/test.yml

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,32 +21,24 @@ jobs:
2121
# Execute tests on python 3.10-3.15 on ubuntu
2222
# and python 3.14 on macOS and windows
2323
include:
24-
- os: ubuntu-24.04
24+
- os: ubuntu-26.04
2525
python-version: "3.10"
26-
- os: ubuntu-24.04
26+
- os: ubuntu-26.04
2727
python-version: "3.11"
28-
- os: ubuntu-24.04
28+
- os: ubuntu-26.04
2929
python-version: "3.12"
30-
- os: ubuntu-24.04
30+
- os: ubuntu-26.04
3131
python-version: "3.13"
32-
- os: ubuntu-24.04
32+
- os: ubuntu-26.04
3333
python-version: "3.14"
34-
- os: ubuntu-24.04
34+
- os: ubuntu-26.04
3535
python-version: "3.15.0-beta.2"
3636
- os: macos-26
3737
python-version: "3.14"
3838
- os: windows-2025
3939
python-version: "3.14"
4040

4141
steps:
42-
- name: Clone repository
43-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # 6.0.3
44-
45-
- name: Set up Python ${{ matrix.python-version }}
46-
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # 6.2.0
47-
with:
48-
python-version: ${{ matrix.python-version }}
49-
5042
- name: Install uv
5143
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # 8.2.0
5244

@@ -56,36 +48,45 @@ jobs:
5648
distribution: 'temurin'
5749
java-version: '26'
5850

51+
- name: Clone repository
52+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # 6.0.3
53+
with:
54+
persist-credentials: false
55+
5956
- name: Test with pytest
6057
run: |
61-
uv run --group tests --locked pytest
58+
uv run --python ${{ matrix.python-version }} --group tests --locked pytest
6259
6360
lint:
6461
timeout-minutes: 10
6562
name: Lint with Ruff
66-
runs-on: ubuntu-24.04
63+
runs-on: ubuntu-26.04
6764
steps:
68-
- name: Clone repository
69-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # 6.0.3
70-
7165
- name: Install uv
7266
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # 8.2.0
7367

68+
- name: Clone repository
69+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # 6.0.3
70+
with:
71+
persist-credentials: false
72+
7473
- name: Run Ruff Linter
7574
run: |
7675
make ruff-check
7776
7877
type_check:
7978
timeout-minutes: 10
8079
name: Type Check with Mypy
81-
runs-on: ubuntu-24.04
80+
runs-on: ubuntu-26.04
8281
steps:
83-
- name: Clone repository
84-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # 6.0.3
85-
8682
- name: Install uv
8783
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # 8.2.0
88-
84+
85+
- name: Clone repository
86+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # 6.0.3
87+
with:
88+
persist-credentials: false
89+
8990
- name: Run Mypy Type Checker
9091
run: |
9192
make mypy-check

0 commit comments

Comments
 (0)