Skip to content

Commit fd61a65

Browse files
ci: test with Python 3.13 (#834)
* ci: Test with Python 3.13 * Update ci.yml * ci: include hidden files (v4.4 requirement) * Update .github/workflows/ci.yml --------- Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
1 parent e0868b6 commit fd61a65

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
os: [ubuntu-20.04, windows-latest, macos-13]
23-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
23+
python-version:
24+
- "3.8"
25+
- "3.9"
26+
- "3.10"
27+
- "3.11"
28+
- "3.12"
29+
- "3.13"
2430
include:
2531
- os: macos-14
2632
python-version: "3.12"
@@ -30,6 +36,7 @@ jobs:
3036
uses: actions/setup-python@v5
3137
with:
3238
python-version: ${{ matrix.python-version }}
39+
allow-prereleases: true
3340
- name: Setup uv
3441
uses: yezz123/setup-uv@v4
3542
- name: Set up Miniconda
@@ -39,6 +46,7 @@ jobs:
3946
python-version: ${{ matrix.python-version }}
4047
miniforge-variant: Mambaforge
4148
use-mamba: true
49+
channels: conda-forge/label/python_rc,conda-forge
4250
- name: Install Nox-under-test (uv)
4351
run: uv pip install --system .
4452
- name: Run tests on ${{ matrix.os }} (tox <4)
@@ -50,6 +58,8 @@ jobs:
5058
with:
5159
name: coverage-${{ github.job }}-${{ strategy.job-index }}
5260
path: .coverage.*
61+
include-hidden-files: true
62+
if-no-files-found: error
5363

5464
coverage:
5565
needs: build

noxfile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"python, tox_version",
4646
[
4747
(python, tox_version)
48-
for python in ("3.8", "3.9", "3.10", "3.11", "3.12")
48+
for python in ("3.8", "3.9", "3.10", "3.11", "3.12", "3.13")
4949
for tox_version in ("latest", "<4")
5050
],
5151
)
@@ -186,6 +186,7 @@ def _check_python_version(session: nox.Session) -> None:
186186
"3.10",
187187
"3.11",
188188
"3.12",
189+
"3.13",
189190
"pypy3.9",
190191
"pypy3.10",
191192
]
@@ -203,6 +204,7 @@ def github_actions_default_tests(session: nox.Session) -> None:
203204
"3.10",
204205
"3.11",
205206
"3.12",
207+
"3.13",
206208
"pypy3.8",
207209
"pypy3.9",
208210
"pypy3.10",

0 commit comments

Comments
 (0)