Skip to content

Commit

Permalink
chore: test on 3.13
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming committed Jun 4, 2024
1 parent 9c911ea commit da746ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", 3.12]
python-version: [3.8, 3.9, "3.10", 3.11, 3.12, 3.13]
os: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- python-version: 3.8
Expand All @@ -40,8 +40,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
cache: true
allow-python-prereleases: true

- name: Install dependencies
run: pip install nox
run: pipx install nox
- name: Run Tests
run: nox -s test-${{ matrix.python-version }}
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
os.environ.update(PDM_IGNORE_SAVED_PYTHON="1", PDM_USE_VENV="1")


@nox.session(python=("3.8", "3.9", "3.10", "3.11", "3.12"))
@nox.session(python=("3.8", "3.9", "3.10", "3.11", "3.12", "3.13"))
def test(session):
session.run("pdm", "install", "-Gtest", external=True)
session.run("pytest", "tests/")
Expand Down

0 comments on commit da746ed

Please sign in to comment.