summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2020-05-06 22:40:38 -0500
committerGitHub <noreply@github.com>2020-05-06 22:40:38 -0500
commit33eefaeb4542546fe5febd6e22a35418f59fbdde (patch)
treed6ff27fe811bf7f3d63822f1cba2601ef36c8d20 /tox.ini
parentf43f5f61c2113f0ed0e7d104d823d6b3ac174a51 (diff)
parent57687face8ec3a912d6d886b8b2bcf27a97c82d0 (diff)
downloadpyramid-33eefaeb4542546fe5febd6e22a35418f59fbdde.tar.gz
pyramid-33eefaeb4542546fe5febd6e22a35418f59fbdde.tar.bz2
pyramid-33eefaeb4542546fe5febd6e22a35418f59fbdde.zip
Merge pull request #3578 from Pylons/switch-to-pytest
Switch to pytest
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini15
1 files changed, 10 insertions, 5 deletions
diff --git a/tox.ini b/tox.ini
index 74f5cfbbd..91baa42db 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,19 +2,23 @@
envlist =
lint,
py35,py36,py37,py38,pypy3,
- docs,py36-cover,coverage,
+ py38-cover,coverage,
+ docs
[testenv]
commands =
- cover: coverage run \
- {envbindir}/nosetests --with-xunit --xunit-file=nosetests-{envname}.xml {posargs:}
+ python --version
+ pytest {posargs:}
extras =
testing
-deps =
- cover: coverage
setenv =
COVERAGE_FILE=.coverage.{envname}
+[testenv:py38-cover]
+commands =
+ python --version
+ pytest --cov {posargs:}
+
[testenv:lint]
skip_install = true
commands =
@@ -54,6 +58,7 @@ deps =
coverage
setenv =
COVERAGE_FILE=.coverage
+depends = py38-cover
[testenv:format]
skip_install = true