Skip to content

Commit 913cfe1

Browse files
Merge pull request #23 from TabulateJarl8/python-3.14
Add Python 3.14 support
2 parents 896ecde + d280933 commit 913cfe1

File tree

5 files changed

+533
-242
lines changed

5 files changed

+533
-242
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
13+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616

1717
# If you wanted to use multiple Python versions, you'd have specify a matrix in the job and
1818
# reference the matrixe python version here.
1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v5
20+
uses: actions/setup-python@v6
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
allow-prereleases: true
@@ -28,7 +28,7 @@ jobs:
2828
# manually if/when you want to upgrade Poetry, or if something goes wrong. This could be
2929
# mildly cleaner by using an environment variable, but I don't really care.
3030
- name: cache poetry install
31-
uses: actions/cache@v4
31+
uses: actions/cache@v5
3232
with:
3333
path: ~/.local
3434
key: poetry-${{ matrix.python-version }}
@@ -53,7 +53,7 @@ jobs:
5353
# them in the cache key. I'm not, so it can be simple and just depend on the poetry.lock.
5454
- name: cache deps
5555
id: cache-deps
56-
uses: actions/cache@v4
56+
uses: actions/cache@v5
5757
with:
5858
path: .venv
5959
key: pydeps-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
@@ -87,6 +87,6 @@ jobs:
8787
run: poetry run mypy .
8888

8989
- name: Upload coverage reports to Codecov
90-
uses: codecov/codecov-action@v5.0.2
90+
uses: codecov/codecov-action@v5.5.2
9191
with:
9292
token: ${{ secrets.CODECOV_TOKEN }}

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: test test-cov lint format build clean
1+
.PHONY: test test-cov lint format build clean check-all
22

33
test:
44
poetry run pytest . --numprocesses auto
@@ -19,3 +19,7 @@ clean:
1919
find . -type d -name "__pycache__" -exec rm -rfv "{}" +
2020
rm -rfv .mypy_cache .pytest_cache .ruff_cache dist htmlcov
2121
rm -fv .coverage coverage.xml
22+
23+
check-all: test-cov lint
24+
poetry run mypy .
25+
poetry run ruff format . --check

0 commit comments

Comments
 (0)