Skip to content

Commit c8419f3

Browse files
committed
ci: update GitHub Actions and tox configuration for Python 3.14
- Updated the Python version matrix in GitHub Actions to include Python 3.14. - Changed the runner environment to Ubuntu 24.04. - Updated actions/checkout and actions/setup-python to their latest versions. - Modified tox.ini to reflect the updated environment list.
1 parent 4b20851 commit c8419f3

2 files changed

Lines changed: 10 additions & 12 deletions

File tree

.github/workflows/main.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,22 @@ on:
1010
jobs:
1111
tests:
1212
name: Python ${{ matrix.python-version }}
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-24.04
1414

1515
strategy:
1616
fail-fast: false
1717
matrix:
1818
python-version:
19-
- '3.7'
20-
- '3.8'
21-
- '3.9'
2219
- '3.10'
2320
- '3.11'
2421
- '3.12'
2522
- '3.13'
23+
- '3.14'
2624

2725
steps:
28-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v5
2927

30-
- uses: actions/setup-python@v5
28+
- uses: actions/setup-python@v6
3129
with:
3230
python-version: ${{ matrix.python-version }}
3331
allow-prereleases: true
@@ -52,20 +50,20 @@ jobs:
5250

5351
coverage:
5452
name: Coverage
55-
runs-on: ubuntu-20.04
53+
runs-on: ubuntu-24.04
5654
needs: tests
5755
steps:
58-
- uses: actions/checkout@v4
56+
- uses: actions/checkout@v5
5957

60-
- uses: actions/setup-python@v5
58+
- uses: actions/setup-python@v6
6159
with:
62-
python-version: '3.10'
60+
python-version: '3.14'
6361

6462
- name: Install dependencies
6563
run: python -m pip install --upgrade coverage[toml]
6664

6765
- name: Download data
68-
uses: actions/download-artifact@v3
66+
uses: actions/download-artifact@v5
6967
with:
7068
name: coverage-data
7169

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
# These should match the GitHub Actions env list
3-
envlist = py37,py38,py39,py310,py311,py312,py313,py314
3+
envlist = py310,py311,py312,py313,py314
44

55
[testenv]
66
install_command = pip install {opts} {packages}

0 commit comments

Comments
 (0)