Skip to content

Commit 0a0a998

Browse files
authored
Add support for Python 3.13 (#109)
* Drop support for Python 3.8 * Add support for Returns 0.23 * Error on empty coverage artifact upload * Include hidden files in artifact upload
1 parent 02107eb commit 0a0a998

File tree

4 files changed

+593
-518
lines changed

4 files changed

+593
-518
lines changed

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
test:
1515
strategy:
1616
matrix:
17-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
17+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1818
runs-on: ubuntu-22.04
1919
steps:
2020
- name: Checkout repo
@@ -35,6 +35,8 @@ jobs:
3535
with:
3636
name: coverage-${{ matrix.python-version }}
3737
path: .coverage.*
38+
include-hidden-files: true
39+
if-no-files-found: error
3840
coverage:
3941
needs: test
4042
runs-on: ubuntu-22.04

noxfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
options.sessions = ["test", "coverage", "lint"]
77

88

9-
@session(python=["3.8", "3.9", "3.10", "3.11", "3.12"])
9+
@session(python=["3.9", "3.10", "3.11", "3.12", "3.13"])
1010
def test(s: Session):
1111
s.install(".", "pytest", "pytest-cov", "pytest-timeout")
1212
s.env["COVERAGE_FILE"] = f".coverage.{s.python}"

0 commit comments

Comments
 (0)