summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorBert JW Regeer <bertjw@regeer.org>2020-05-04 23:23:22 -0700
committerBert JW Regeer <bertjw@regeer.org>2020-05-06 19:54:29 -0700
commit57687face8ec3a912d6d886b8b2bcf27a97c82d0 (patch)
treed6ff27fe811bf7f3d63822f1cba2601ef36c8d20 /tox.ini
parentb6df90d05262dc24a91f7edd1e477cf7e8a9fff6 (diff)
downloadpyramid-57687face8ec3a912d6d886b8b2bcf27a97c82d0.tar.gz
pyramid-57687face8ec3a912d6d886b8b2bcf27a97c82d0.tar.bz2
pyramid-57687face8ec3a912d6d886b8b2bcf27a97c82d0.zip
Disable coverage by default
Use a special py38-cover testenv in tox to re-enable coverage reporting.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 8 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 45e786684..91baa42db 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,7 +2,8 @@
envlist =
lint,
py35,py36,py37,py38,pypy3,
- docs,coverage,
+ py38-cover,coverage,
+ docs
[testenv]
commands =
@@ -13,6 +14,11 @@ extras =
setenv =
COVERAGE_FILE=.coverage.{envname}
+[testenv:py38-cover]
+commands =
+ python --version
+ pytest --cov {posargs:}
+
[testenv:lint]
skip_install = true
commands =
@@ -52,6 +58,7 @@ deps =
coverage
setenv =
COVERAGE_FILE=.coverage
+depends = py38-cover
[testenv:format]
skip_install = true