Skip to content

Commit

Permalink
Add support for Python 3.13 (#109)
Browse files Browse the repository at this point in the history
* Drop support for Python 3.8
* Add support for Returns 0.23
* Error on empty coverage artifact upload
* Include hidden files in artifact upload
  • Loading branch information
drhagen authored Oct 9, 2024
1 parent 02107eb commit 0a0a998
Show file tree
Hide file tree
Showing 4 changed files with 593 additions and 518 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
test:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
Expand All @@ -35,6 +35,8 @@ jobs:
with:
name: coverage-${{ matrix.python-version }}
path: .coverage.*
include-hidden-files: true
if-no-files-found: error
coverage:
needs: test
runs-on: ubuntu-22.04
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
options.sessions = ["test", "coverage", "lint"]


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

0 comments on commit 0a0a998

Please sign in to comment.