Skip to content

Commit

Permalink
FIX(tox) coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Lenoch committed Feb 28, 2019
1 parent 3476d50 commit 821fc25
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
[tox]
envlist = check,py36,py37,flake8
envlist = check,py36,py37,flake8,coverage-report

[testenv]
commands = pytest -vvv
commands = pytest
deps =
-rrequirements.txt

pytest-pep8
pytest-cov
pytest
coverage
setenv =
PYTHONPATH={toxinidir}/tests
PYTHONUNBUFFERED=yes

[testenv:flake8]
commands = flake8 .
deps = flake8

[pytest]
addopts = -s -vvv
addopts = -s -vvv --cov=fmfexporter --cov=examples --cov=bin
testpaths = tests
python_files = tests/*.py
python_functions = test_
Expand All @@ -35,6 +33,7 @@ exclude =
.tox,
.eggs,
*.egg
skip_install = true
commands = flake8 .
deps = flake8
max-line-length = 100
Expand All @@ -49,7 +48,6 @@ deps = coverage
deps = coverage
skip_install = true
commands =
coverage combine
coverage report

[testenv:check]
Expand Down

0 comments on commit 821fc25

Please sign in to comment.