Skip to content

Commit

Permalink
chore: test on 3.13 (#48)
Browse files Browse the repository at this point in the history
* ci: manually enter Python

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

* chore: add 3.13 classifier

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

---------

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii authored May 22, 2024
1 parent dda6878 commit c56fe3e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,25 @@ jobs:

- uses: wntrblm/nox@2024.04.15
with:
python-versions: "3.7, 3.8, 3.9, 3.10, 3.11, 3.12"
python-versions: "3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13"

- run: nox -s tests
- name: Test Python 3.7
run: nox -s tests -P 3.7

- name: Test Python 3.8
run: nox -s tests -P 3.8

- name: Test Python 3.9
run: nox -s tests -P 3.9

- name: Test Python 3.10
run: nox -s tests -P 3.10

- name: Test Python 3.11
run: nox -s tests -P 3.11

- name: Test Python 3.12
run: nox -s tests -P 3.13

- name: Test Python 3.13
run: nox -s tests -P 3.13
4 changes: 1 addition & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
nox.options.sessions = ["lint", "tests"]
nox.options.default_venv_backend = "uv|virtualenv"

ALL_PYTHONS = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]

@nox.session
def lint(session: nox.Session) -> None:
"""
Expand Down Expand Up @@ -57,7 +55,7 @@ def update(session: nox.Session) -> None:
init_file.write_text(txt_new, encoding="utf_8")


@nox.session(python=ALL_PYTHONS)
@nox.session
def tests(session):
"""
Run the unit and regular tests.
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Documentation",
"Topic :: Utilities",
]
Expand Down

0 comments on commit c56fe3e

Please sign in to comment.