mirror of
https://git.zavage.net/Zavage-Software/smileyface.git
synced 2026-06-25 18:12:48 -06:00
build: add nox matrix runner for the Python version smoke suite
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
9d02a06620
commit
141eb6f09e
15
noxfile.py
Normal file
15
noxfile.py
Normal file
@ -0,0 +1,15 @@
|
||||
import nox
|
||||
|
||||
nox.options.default_venv_backend = "uv"
|
||||
nox.options.reuse_existing_virtualenvs = False
|
||||
|
||||
# Newest first. 3.8 is a stretch goal (see the importlib_resources backport).
|
||||
PYTHON_VERSIONS = ["3.13", "3.12", "3.11", "3.10", "3.9", "3.8"]
|
||||
|
||||
|
||||
@nox.session(python=PYTHON_VERSIONS)
|
||||
def tests(session):
|
||||
"""Install the project + pytest and run the smoke suite on each interpreter."""
|
||||
session.install(".")
|
||||
session.install("pytest")
|
||||
session.run("pytest", "-v")
|
||||
@ -34,6 +34,7 @@ pre-commit = "*"
|
||||
isort = "*"
|
||||
flake8 = "*"
|
||||
pytest = "*"
|
||||
nox = "*"
|
||||
#Sphinx = "^5.3.0"
|
||||
#sphinx-rtd-theme = "^1.3.0"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user