Skip to content

Commit

Permalink
ci: fixup pytests to compile in debug
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Dec 5, 2023
1 parent 93370d9 commit 5326bce
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pytests/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@

@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)


Expand Down

0 comments on commit 5326bce

Please sign in to comment.