-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab36450
commit 49e9000
Showing
16 changed files
with
64 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from os.path import dirname | ||
|
||
import nox | ||
|
||
SETUPTOOLS_RUST = dirname(dirname(dirname(__file__))) | ||
|
||
|
||
@nox.session() | ||
def test(session: nox.Session): | ||
session.install(SETUPTOOLS_RUST) | ||
session.install(".") | ||
session.run("hello-world", *session.posargs) |
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from os.path import dirname | ||
|
||
import nox | ||
|
||
SETUPTOOLS_RUST = dirname(dirname(dirname(__file__))) | ||
|
||
|
||
@nox.session() | ||
def test(session: nox.Session): | ||
session.install(SETUPTOOLS_RUST, "pytest", "pytest-benchmark", "beautifulsoup4") | ||
session.install(".") | ||
session.run("pytest", *session.posargs) |
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from os.path import dirname | ||
|
||
import nox | ||
|
||
SETUPTOOLS_RUST = dirname(dirname(dirname(__file__))) | ||
|
||
|
||
@nox.session() | ||
def test(session: nox.Session): | ||
session.install(SETUPTOOLS_RUST, "pytest") | ||
session.install(".") | ||
session.run("pytest", *session.posargs) |
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from os.path import dirname | ||
|
||
import nox | ||
|
||
SETUPTOOLS_RUST = dirname(dirname(dirname(__file__))) | ||
|
||
|
||
@nox.session() | ||
def test(session: nox.Session): | ||
session.install(SETUPTOOLS_RUST, "pytest", "cffi") | ||
session.install(".") | ||
session.run("pytest", *session.posargs) |
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from glob import glob | ||
|
||
import nox | ||
|
||
|
||
@nox.session(name="test-examples", venv_backend="none") | ||
def test_examples(session: nox.Session): | ||
for example in glob("examples/*/noxfile.py"): | ||
session.run("nox", "-f", example, external=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters