From 5326bce57fa1ec71ba4ac8f75ca99e5153c006cb Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Tue, 5 Dec 2023 08:01:02 +0300 Subject: [PATCH] ci: fixup pytests to compile in debug --- pytests/noxfile.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pytests/noxfile.py b/pytests/noxfile.py index 7588e966..57d9d63a 100644 --- a/pytests/noxfile.py +++ b/pytests/noxfile.py @@ -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)