diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e83e7bff7..d996a6ec0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -96,7 +96,7 @@ jobs: cargo run -- build -i pypy3 -m test-crates/pyo3-mixed-submodule/Cargo.toml pypy3 -m pip install --force-reinstall --no-index --find-links test-crates/pyo3-mixed-submodule/target/wheels pyo3-mixed-submodule pypy3 -m pip install pytest - pypy3 -m pytest test-crates/pyo3-mixed-submodule/test_pyo3_mixed_submodule.py + pypy3 -m pytest test-crates/pyo3-mixed-submodule/tests/ test-auditwheel: name: Test Auditwheel diff --git a/test-crates/pyo3-mixed-submodule/Readme.md b/test-crates/pyo3-mixed-submodule/Readme.md index 5cd1839da..852796300 100644 --- a/test-crates/pyo3-mixed-submodule/Readme.md +++ b/test-crates/pyo3-mixed-submodule/Readme.md @@ -27,4 +27,4 @@ Run it: tox ``` -The tests are in `test_pyo3_mixed_submodule.py`, while the configuration is in tox.ini +The tests are in `tests/test_pyo3_mixed_submodule.py`, while the configuration is in tox.ini diff --git a/test-crates/pyo3-mixed-submodule/test_pyo3_mixed_submodule.py b/test-crates/pyo3-mixed-submodule/tests/test_pyo3_mixed_submodule.py similarity index 100% rename from test-crates/pyo3-mixed-submodule/test_pyo3_mixed_submodule.py rename to test-crates/pyo3-mixed-submodule/tests/test_pyo3_mixed_submodule.py diff --git a/test-crates/pyo3-mixed-submodule/tox.ini b/test-crates/pyo3-mixed-submodule/tox.ini index fd19ca2b2..421774193 100644 --- a/test-crates/pyo3-mixed-submodule/tox.ini +++ b/test-crates/pyo3-mixed-submodule/tox.ini @@ -4,4 +4,4 @@ isolated_build = True [testenv] deps = pytest -commands = pytest \ No newline at end of file +commands = pytest tests/