Skip to content

Commit f2f2614

Browse files
committed
CI: Modernize OS runner and Python versions
1 parent c95b6f1 commit f2f2614

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Python
2828
uses: actions/setup-python@v6
2929
with:
30-
python-version: '3.11'
30+
python-version: '3.14'
3131
cache: 'pip'
3232
cache-dependency-path: 'setup.cfg'
3333

.github/workflows/test.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Test
33
on:
44

55
pull_request:
6-
branches: ~
76
paths:
87
- '.github/workflows/test.yml'
98
- 'pyproject.toml'
@@ -32,11 +31,16 @@ jobs:
3231
strategy:
3332
fail-fast: false
3433
matrix:
35-
os: ["ubuntu-22.04"]
34+
os: [
35+
'ubuntu-latest',
36+
]
3637
python-version: [
37-
'3.7', '3.13',
38-
'pypy-3.9', 'pypy-3.10',
38+
'3.14',
39+
'pypy-3.11',
3940
]
41+
include:
42+
- os: 'ubuntu-22.04'
43+
python-version: '3.7'
4044
steps:
4145
- uses: actions/checkout@v5
4246

@@ -56,7 +60,7 @@ jobs:
5660
- name: Install dependencies
5761
run: |
5862
python -m pip install --upgrade pip
59-
python -m pip install --editable=.[test,develop]
63+
python -m pip install --editable='.[test,develop]'
6064
6165
- name: Check code style
6266
if: matrix.python-version != '3.7' && matrix.python-version != 'pypy-3.7'

0 commit comments

Comments
 (0)