Marty Oehme
e59b19d6e3
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Switched to basic python containers, onto which the ci steps simply install poetry. This takes a little more processing time during pipeline running (~16s per step), but also gives much more flexibility in container usage. Switching to nox for test automation across multiple python versions. Fixing mypy library stubs missing for some imported libraries.
9 lines
210 B
Python
9 lines
210 B
Python
import nox
|
|
|
|
|
|
@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
|