summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2023-05-03 06:46:35 -0400
committerNed Batchelder <ned@nedbatchelder.com>2023-05-03 10:19:18 -0400
commitf108ea21359695530d835f206540e454d3a03053 (patch)
tree866b533f92b4f3a8a33c023e83af10110065aa4d
parent4a251c6c5f424b1ff4955c7d3bd28c27124e223d (diff)
downloadpython-coveragepy-git-f108ea21359695530d835f206540e454d3a03053.tar.gz
Revert "build: remove some unneeded tox steps"
This reverts commit 84e43c402fb429c7aa0432dc46229158fb5e1889.
-rw-r--r--tox.ini7
1 files changed, 5 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 1b9f056c..ab66ca2f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,7 +13,6 @@ usedevelop = True
download = True
extras =
toml
-package = editable
# PYVERSIONS
deps =
@@ -32,11 +31,15 @@ setenv =
# so override any local setting.
PYTHONPYCACHEPREFIX=
+# $set_env.py: COVERAGE_PIP_ARGS - Extra arguments for `pip install`
+# `--no-build-isolation` will let tox work with no network.
commands =
# Create tests/zipmods.zip
python igor.py zip_mods
- # Test with the CTracer that normal installation gives us.
+ # Build the C extension and test with the CTracer
+ python setup.py --quiet build_ext --inplace
+ python -m pip install {env:COVERAGE_PIP_ARGS} -q -e .
python igor.py test_with_tracer c {posargs}
# Remove the C extension so that we can test the PyTracer