Use `--no-build-isolation`
This commit is contained in:
parent
ce80b7e0f3
commit
081c8082cb
|
@ -1,7 +0,0 @@
|
|||
[tox]
|
||||
isolated_build = true
|
||||
|
||||
[testenv]
|
||||
description = Run the unit tests under {basepython}
|
||||
deps = -rrequirements-dev.txt
|
||||
commands = pytest {posargs}
|
|
@ -1,5 +1,5 @@
|
|||
[template]
|
||||
ignore = [".tox", ".nox"]
|
||||
ignore = [".nox"]
|
||||
|
||||
[hooks]
|
||||
pre = [".template/pre-script.rhai"]
|
||||
|
|
|
@ -4,5 +4,5 @@ import nox
|
|||
@nox.session
|
||||
def python(session):
|
||||
session.install("-rrequirements-dev.txt")
|
||||
session.install(".")
|
||||
session.install(".", "--no-build-isolation")
|
||||
session.run("pytest")
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
[tox]
|
||||
isolated_build = true
|
||||
|
||||
[testenv]
|
||||
description = Run the unit tests under {basepython}
|
||||
deps = -rrequirements-dev.txt
|
||||
commands = pytest {posargs}
|
|
@ -1,5 +1,5 @@
|
|||
[template]
|
||||
ignore = [".tox", ".nox"]
|
||||
ignore = [".nox"]
|
||||
|
||||
[hooks]
|
||||
pre = [".template/pre-script.rhai"]
|
||||
|
|
|
@ -4,5 +4,5 @@ import nox
|
|||
@nox.session
|
||||
def python(session):
|
||||
session.install("-rrequirements-dev.txt")
|
||||
session.install(".")
|
||||
session.install(".", "--no-build-isolation")
|
||||
session.run("pytest")
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
[tox]
|
||||
isolated_build = true
|
||||
|
||||
[testenv]
|
||||
description = Run the unit tests under {basepython}
|
||||
deps = -rrequirements-dev.txt
|
||||
commands = pytest {posargs}
|
|
@ -1,5 +1,5 @@
|
|||
[template]
|
||||
ignore = [".tox", ".nox"]
|
||||
ignore = [".nox"]
|
||||
|
||||
[hooks]
|
||||
pre = [".template/pre-script.rhai"]
|
||||
|
|
|
@ -4,5 +4,5 @@ import nox
|
|||
@nox.session
|
||||
def python(session):
|
||||
session.install("-rrequirements-dev.txt")
|
||||
session.install("-e", ".")
|
||||
session.install("-e", ".", "--no-build-isolation")
|
||||
session.run("pytest")
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
[tox]
|
||||
isolated_build = true
|
||||
|
||||
[testenv]
|
||||
description = Run the unit tests under {basepython}
|
||||
deps = -rrequirements-dev.txt
|
||||
commands = pytest {posargs}
|
|
@ -1,5 +1,5 @@
|
|||
[template]
|
||||
ignore = [".tox", ".nox"]
|
||||
ignore = [".nox"]
|
||||
|
||||
[hooks]
|
||||
pre = [".template/pre-script.rhai"]
|
||||
|
|
|
@ -4,5 +4,5 @@ import nox
|
|||
@nox.session
|
||||
def python(session):
|
||||
session.install("-rrequirements-dev.txt")
|
||||
session.install("-e", ".")
|
||||
session.install("-e", ".", "--no-build-isolation")
|
||||
session.run("pytest")
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
import nox
|
||||
|
||||
|
||||
@nox.session(python=["3.7", "3.8", "3.9", "3.10"])
|
||||
def test(session):
|
||||
session.run("cargo", "test", external=True)
|
|
@ -4,5 +4,5 @@ import nox
|
|||
@nox.session
|
||||
def python(session):
|
||||
session.install("-rrequirements-dev.txt")
|
||||
session.install("-e", ".")
|
||||
session.install("-e", ".", "--no-build-isolation")
|
||||
session.run("pytest", "--benchmark-sort=name")
|
||||
|
|
|
@ -4,5 +4,5 @@ import nox
|
|||
@nox.session
|
||||
def python(session):
|
||||
session.install("-rrequirements-dev.txt")
|
||||
session.install(".")
|
||||
session.install(".", "--no-build-isolation")
|
||||
session.run("pytest")
|
||||
|
|
Loading…
Reference in New Issue