Skip to content

Commit f87a517

Browse files
authored
feat: build and test against 3.14t (#79)
Add testing for free-threaded builds to support the future. Signed-off-by: Mike Fiedler <[email protected]>
1 parent 840da9a commit f87a517

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/nox-test.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ jobs:
2525
run: |
2626
# Always install nox into Python 3, regardless of the Python version used.
2727
python3 -m venv noxenv
28-
noxenv/bin/pip install nox
28+
# TODO: Switch back to released version once PR #999 is included in a release
29+
# https://github.com/wntrblm/nox/pull/999
30+
noxenv/bin/pip install git+https://github.com/wntrblm/nox.git
31+
# noxenv/bin/pip install nox
2932
3033
- name: Run lint
3134
run: |
@@ -37,7 +40,7 @@ jobs:
3740
strategy:
3841
fail-fast: false
3942
matrix:
40-
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13', '3.14' ]
43+
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t' ]
4144

4245
name: Test Python ${{ matrix.python-version }}
4346
steps:
@@ -50,13 +53,15 @@ jobs:
5053
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
5154
with:
5255
python-version: ${{ matrix.python-version }}
53-
allow-prereleases: true # For Python 3.14 pre-releases
5456

5557
- name: Setup virtualenv
5658
run: |
5759
# Always install nox into Python 3, regardless of the Python version used.
5860
python3 -m venv noxenv
59-
noxenv/bin/pip install nox
61+
# TODO: Switch back to released version once PR #999 is included in a release
62+
# https://github.com/wntrblm/nox/pull/999
63+
noxenv/bin/pip install git+https://github.com/wntrblm/nox.git
64+
# noxenv/bin/pip install nox
6065
6166
- name: Run nox tests
6267
run: |

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import nox
66

77

8-
@nox.session(py=['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'])
8+
@nox.session(py=['3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t'])
99
def unit(session):
1010
session.install('pytest', 'pytest-cov')
1111
session.install('.')

0 commit comments

Comments
 (0)