-
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.
Merge pull request #209 from PyO3/dependabot/cargo/examples/namespace…
…_package/pyo3-0.16.0
- Loading branch information
Showing
18 changed files
with
87 additions
and
118 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.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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