Skip to content

Commit

Permalink
fix mingw noxfile, try 2
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Jul 21, 2022
1 parent 04773bb commit 54c6cdb
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,17 @@ def chdir(path: Path):
with patch.object(nox.command, "run", newrun):
session.install(".")

chdir(examples / "hello-world")
session.install("--no-build-isolation", "-e", ".")
session.install("--no-build-isolation", str(examples / "hello-world"))
session.run("hello-world")

chdir(examples / "html-py-ever")
session.install("pytest", "pytest-benchmark", "beautifulsoup4")
session.install("--no-build-isolation", "-e", ".")
session.run("pytest")
session.install("--no-build-isolation", str(examples / "html-py-ever"))
session.run("pytest", str(examples / "html-py-ever"))

chdir(examples / "namespace_package")
session.install("pytest")
session.install("--no-build-isolation", "-e", ".")
session.run("pytest")
session.install("--no-build-isolation", str(examples / "html-py-ever"))
session.run("pytest", str(examples / "html-py-ever"))

chdir(examples / "rust_with_cffi")
session.install("pytest", "cffi")
session.install("--no-build-isolation", "-e", ".")
session.run("pytest")
session.install("--no-build-isolation", str(examples / "html-py-ever"))
session.run("pytest", str(examples / "html-py-ever"))

0 comments on commit 54c6cdb

Please sign in to comment.