Skip to content

Commit

Permalink
boilerplate: Setup codecov with pytest.
Browse files Browse the repository at this point in the history
  • Loading branch information
dguitarbite committed Dec 13, 2016
1 parent e4a3485 commit 4cc05be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ pylint-common==0.2.2
fluff==0.1.1
pylint-mccabe==0.1.3
pylint-runner==0.3
pytest-cov
pytest-mock
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ deps =
-r{toxinidir}/requirements_dev.txt
commands =
pip install -U pip
sudo {envpython} -m pytest --basetemp={envtmpdir}
sudo {envpython} -m pytest --cov=libvirt_provider --cov-report=term --cov-report=html --basetemp={envtmpdir}

[testenv:pylint]
# Does not run by default for the time being.
Expand Down

0 comments on commit 4cc05be

Please sign in to comment.