Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Add codecov for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
williamjamir committed Jul 13, 2018
1 parent b13f9f8 commit 61a0a08
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@ deps = flake8
commands = flake8 polyenv

[testenv]
passenv = CI TRAVIS TRAVIS_*
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements_dev.txt
codecov
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following line:
; -r{toxinidir}/requirements.txt
commands =
pip install -U pip
pytest --basetemp={envtmpdir}

pytest --basetemp={envtmpdir} --cov=./
codecov

0 comments on commit 61a0a08

Please sign in to comment.