diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e8fd866c14..4179c5974a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -121,6 +121,8 @@ jobs: for example_dir in examples/*; do tox --discover $(which python) -c $example_dir -e py done + env: + TOX_TESTENV_PASSENV: "CARGO_BUILD_TARGET" env: CARGO_BUILD_TARGET: ${{ matrix.platform.rust-target }} diff --git a/examples/maturin_extension/tox.ini b/examples/maturin_extension/tox.ini index 2d141ae5780..039ce10b389 100644 --- a/examples/maturin_extension/tox.ini +++ b/examples/maturin_extension/tox.ini @@ -3,7 +3,6 @@ skipsdist = true [testenv] -passenv = CARGO_BUILD_TARGET description = Run the unit tests under {basepython} deps = -rrequirements-dev.txt commands = diff --git a/examples/setuptools_rust_extension/tox.ini b/examples/setuptools_rust_extension/tox.ini index 36da3b17555..e0d45bbc7e4 100644 --- a/examples/setuptools_rust_extension/tox.ini +++ b/examples/setuptools_rust_extension/tox.ini @@ -3,7 +3,6 @@ skipsdist = true [testenv] -passenv = CARGO_BUILD_TARGET description = Run the unit tests under {basepython} deps = -rrequirements-dev.txt commands = diff --git a/examples/word-count/tox.ini b/examples/word-count/tox.ini index 9b8fd1ead31..60d70417ce3 100644 --- a/examples/word-count/tox.ini +++ b/examples/word-count/tox.ini @@ -3,7 +3,6 @@ skipsdist=true [testenv] -passenv = CARGO_BUILD_TARGET description = Run the unit tests under {basepython} deps = -rrequirements-dev.txt commands =