Marty Oehme
860bb1b01c
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Added basic continuous integration tests to run on any push. On main branch, the python program is built. On tagged commit, a gitea release is created. Fixed build pipeline issues: Ignored the typeless library imports nox and metadata_version since they are for development testing and too old of a python version respectively. Fixed two small typing errors for repetitions.
9 lines
226 B
Python
9 lines
226 B
Python
import nox # type: ignore
|
|
|
|
|
|
@nox.session(python=["3.7", "3.8", "3.9"])
|
|
def tests(session):
|
|
args = session.posargs or ["--cov"]
|
|
session.run("poetry", "install", external=True)
|
|
session.run("pytest", *args)
|
|
pass
|