Skip to content

Commit

Permalink
Run coverage analysis locally, too.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed May 25, 2019
1 parent 836654f commit 7c328ab
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions tox.ini
@@ -1,15 +1,25 @@
[tox]
envlist =
flake8, py27, pypy, py35, py36
flake8, py27, pypy, py35, py36, py37, py38, pypy3, coverage

[testenv]
commands =
zope-testrunner --test-path=src []
deps =
.[test,zcml,extract]
extras =
test
zcml
extract

[testenv:flake8]
basepython = python3.6
skip_install = true
deps = flake8
commands = flake8 --doctests src setup.py

[testenv:coverage]
basepython = python3.6
usedevelop = true
commands =
coverage run -m zope.testrunner --test-path=src []
coverage report --show-missing --fail-under=89
deps = coverage

0 comments on commit 7c328ab

Please sign in to comment.