Skip to content

Commit

Permalink
Fix cov-report tox environment run #1350
Browse files Browse the repository at this point in the history
  • Loading branch information
insspb committed Apr 14, 2020
1 parent e7e0940 commit 1c96b3e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 5 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ Internal CI/CD changes:
* Fixed Python 3.8 travis tests and setup.py message [@insspb](https://github.com/insspb) (#1295, #1297)
* Travis builds extended with Windows setup for all supported python versions [@insspb](https://github.com/insspb) (#1300, #1301)
* Update .travis.yml to be compatible with latest travis cfg specs [@luzfcb](https://github.com/luzfcb) (#1346)
* Add new test to improve tests coverage [@amey589](https://github.com/amey589) (#1023)

Changed tests:

* Added new test to improve tests coverage [@amey589](https://github.com/amey589) (#1023)
* Fixed `cov-report` tox invocation environment [@insspb](https://github.com/insspb) (#1350)

Code style and docs changes:

Expand Down
10 changes: 9 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,12 @@ usedevelop = false

[testenv:cov-report]
; This coverage only report run. Only for local development. Not used at CI/CD
commands = pytest --cov=cookiecutter --cov-report=term --cov-report=html
passenv =
LC_ALL
LANG
HOME
commands =
pip install -e .
pytest --cov=cookiecutter --cov-report=term --cov-report=html
deps = -rtest_requirements.txt
skip_install = true

0 comments on commit 1c96b3e

Please sign in to comment.