Skip to content

Commit e9ade00

Browse files
authored
Update tests.
1 parent 37c510e commit e9ade00

File tree

2 files changed

+23
-8
lines changed

2 files changed

+23
-8
lines changed

.github/workflows/lint_and_test.yml

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,19 @@ jobs:
2222
run: ./tests/linting.sh
2323

2424
typecheck:
25-
runs-on: ubuntu-latest
2625
strategy:
2726
fail-fast: false
2827
matrix:
29-
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
30-
name: typecheck (python ${{ matrix.python }})
28+
version:
29+
- {python: "3.7", os: ubuntu-22.04}
30+
- {python: "3.8", os: ubuntu-latest}
31+
- {python: "3.0", os: ubuntu-latest}
32+
- {python: "3.10", os: ubuntu-latest}
33+
- {python: "3.11", os: ubuntu-latest}
34+
- {python: "3.12", os: ubuntu-latest}
35+
- {python: "3.13", os: ubuntu-latest}
36+
runs-on: ${{ matrix.version.os }}
37+
name: typecheck (python ${{ matrix.version.python }})
3138
steps:
3239
- name: Checkout 🛎️
3340
uses: actions/checkout@v4
@@ -48,12 +55,19 @@ jobs:
4855
run: ./tests/typecheck.sh
4956

5057
unittest:
51-
runs-on: ubuntu-latest
5258
strategy:
5359
fail-fast: false
5460
matrix:
55-
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
56-
name: unittest (python ${{ matrix.python }})
61+
version:
62+
- {python: "3.7", os: ubuntu-22.04}
63+
- {python: "3.8", os: ubuntu-latest}
64+
- {python: "3.0", os: ubuntu-latest}
65+
- {python: "3.10", os: ubuntu-latest}
66+
- {python: "3.11", os: ubuntu-latest}
67+
- {python: "3.12", os: ubuntu-latest}
68+
- {python: "3.13", os: ubuntu-latest}
69+
runs-on: ${{ matrix.version.os }}
70+
name: unittest (python ${{ matrix.version.python }})
5771
steps:
5872
- name: Checkout 🛎️
5973
uses: actions/checkout@v4
@@ -63,7 +77,7 @@ jobs:
6377
- name: Setup python 🐍
6478
uses: actions/setup-python@v5
6579
with:
66-
python-version: ${{ matrix.python }}
80+
python-version: ${{ matrix.version.python }}
6781

6882
- name: Install dependencies ☕️
6983
run: |
@@ -119,7 +133,7 @@ jobs:
119133
run: ./tests/coverage.sh
120134

121135
- name: Upload report 🔝
122-
uses: codecov/codecov-action@v4
136+
uses: codecov/codecov-action@v5
123137
with:
124138
token: ${{ secrets.CODECOV_TOKEN }}
125139
files: ./coverage.xml

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ classifiers = [
2727
"Programming Language :: Python :: 3.10",
2828
"Programming Language :: Python :: 3.11",
2929
"Programming Language :: Python :: 3.12",
30+
"Programming Language :: Python :: 3.13",
3031
"Development Status :: 5 - Production/Stable",
3132
"Operating System :: OS Independent",
3233
"License :: OSI Approved :: BSD License",

0 commit comments

Comments
 (0)