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 29, 2023
1 parent 1896a32 commit 5c1e4d1
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 5c1e4d1

Please sign in to comment.