Merge pull request #3629 from davidhewitt/pytests-debug
ci: fixup pytests to compile in debug
This commit is contained in:
commit
de6d8b7d30
|
@ -6,14 +6,13 @@ nox.options.sessions = ["test"]
|
|||
|
||||
@nox.session
|
||||
def test(session: nox.Session):
|
||||
session.install(".[dev]")
|
||||
session.env["MATURIN_PEP517_ARGS"] = "--profile=dev"
|
||||
session.run_always("python", "-m", "pip", "install", "-v", ".[dev]")
|
||||
try:
|
||||
session.install("--only-binary=numpy", "numpy>=1.16")
|
||||
except CommandFailed:
|
||||
# No binary wheel for numpy available on this platform
|
||||
pass
|
||||
session.install("maturin")
|
||||
session.run_always("maturin", "develop")
|
||||
session.run("pytest", *session.posargs)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue