Skip to content

Commit

Permalink
ci: Test on Python 3.13 (nightly) (#873)
Browse files Browse the repository at this point in the history
* ci: Test on Python 3.13 (nightly)

* Force Nox Python version

* Allow sdist for `coverage`
  • Loading branch information
edgarrmondragon authored Jun 3, 2023
1 parent 7be50c0 commit b3e01eb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
LS_PORT: "8080"
NOXSESSION: "${{ matrix.session }}"
NOXPYTHON: "${{ matrix.python-version }}"
NOXFORCEPYTHON: "${{ matrix.python-version }}"
strategy:
fail-fast: false
matrix:
Expand All @@ -67,6 +68,12 @@ jobs:
experimental: true
nightly: true

- python-version: "3.13"
os: "ubuntu-latest"
session: "tests"
experimental: true
nightly: true

- python-version: "3.11"
os: "windows-latest"
session: "tests"
Expand Down
3 changes: 3 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ def tests(session: Session) -> None:
if GH_ACTIONS_ENV_VAR in os.environ:
deps.append("pytest-github-actions-annotate-failures")

if session.python == "3.13":
env["PIP_NO_BINARY"] = "coverage"

session.install(".", env=env)
session.install(*deps, env=env)
args = session.posargs or ["-m", "not integration_test"]
Expand Down

0 comments on commit b3e01eb

Please sign in to comment.