Skip to content

Commit

Permalink
updated the CircleCI and tox config files for coverage/codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
monocongo committed Jan 30, 2020
1 parent 5849ef8 commit 29a5aa4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
python3 -m venv venv
. venv/bin/activate
pip install -e .
pip install codecov
pip install coverage
pip install tox
- save_cache:
Expand All @@ -71,6 +73,7 @@ jobs:
command: |
. venv/bin/activate
tox
coverage run tests
# store artifacts (for example logs, binaries, etc)
# to be available in the web app or through the API
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ minversion = 3.3.0
isolated_build = true

[testenv]
passenv = CI CIRCLECI CIRCLE_*
passenv = CI CIRCLECI CIRCLE_* CODECOV_TOKEN
deps =
codecov
coverage
opencv-python
pytest
scikit-image
commands =
python setup.py check -m -s
py.test tests {posargs}
coverage xml -i
codecov

0 comments on commit 29a5aa4

Please sign in to comment.