Skip to content

Commit a4225f9

Browse files
committed
re-add testing coverage for py311 and py312
1 parent 15d5f43 commit a4225f9

File tree

4 files changed

+21
-13
lines changed

4 files changed

+21
-13
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,20 @@ on:
66

77
jobs:
88
publish:
9-
runs-on: ubuntu-latest
9+
runs-on: ${{ matrix.os }}
10+
strategy:
11+
matrix:
12+
os: [ubuntu-latest, macos-latest, windows-latest]
13+
python-version: [3.11, 3.12, 3.13]
1014
environment: pypi
1115
steps:
1216
- name: Checkout
1317
uses: actions/[email protected]
1418

15-
- name: Setup Python 3.13
19+
- name: Setup Python ${{ matrix.python-version }}
1620
uses: actions/[email protected]
1721
with:
18-
python-version: "3.13"
22+
python-version: "${{ matrix.python-version }}"
1923

2024
- name: Install Poetry
2125
run: pipx install poetry --python $(which python)

.github/workflows/test.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,21 @@ on: [push, pull_request]
44

55
jobs:
66
test-library:
7-
strategy:
8-
matrix:
9-
os: [ubuntu-latest]
107

118
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest, macos-latest, windows-latest]
12+
python-version: [3.11, 3.12, 3.13]
1213

1314
steps:
1415
- name: Checkout
1516
uses: actions/[email protected]
1617

17-
- name: Setup Python 3.13
18+
- name: Setup Python ${{ matrix.python-version }}
1819
uses: actions/[email protected]
1920
with:
20-
python-version: "3.13"
21+
python-version: "${{ matrix.python-version }}"
2122

2223
- name: Install Poetry
2324
run: pipx install poetry --python $(which python)
@@ -29,11 +30,12 @@ jobs:
2930
run: poetry run tox
3031

3132
test-deps:
32-
strategy:
33-
matrix:
34-
os: [ubuntu-latest]
3533

3634
runs-on: ${{ matrix.os }}
35+
strategy:
36+
matrix:
37+
os: [ubuntu-latest, macos-latest, windows-latest]
38+
python-version: [3.11, 3.12, 3.13]
3739

3840
steps:
3941
- name: Checkout
@@ -42,7 +44,7 @@ jobs:
4244
- name: Setup Python
4345
uses: actions/[email protected]
4446
with:
45-
python-version: "3.13"
47+
python-version: "${{ matrix.python-version }}"
4648

4749
- name: Install Poetry
4850
run: pipx install poetry --python $(which python)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,5 @@ testpaths = "tests"
6969
asyncio_mode = "strict"
7070

7171
[build-system]
72-
requires = ["poetry-core>=2.0."]
72+
requires = ["poetry-core>=2.0"]
7373
build-backend = "poetry.core.masonry.api"

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ requires =
44
envlist =
55
lint
66
type
7+
py311
8+
py312
79
py313
810
docs
911

0 commit comments

Comments
 (0)