Skip to content

Commit

Permalink
updated the CircleCI config file to use pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
monocongo committed Feb 1, 2020
1 parent ff83097 commit 9b79612
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
jobs:
build:
build_3.7:
docker:
# specify the version you desire here
# CircleCI maintains a library of pre-built images
Expand All @@ -28,9 +28,6 @@ jobs:
python3 -m venv venv
. venv/bin/activate
pip install -e .
pip install codecov
pip install coverage
pip install tox
- save_cache:
paths:
Expand All @@ -42,7 +39,14 @@ jobs:
name: run tests
command: |
. venv/bin/activate
tox
pip install codecov
pip install coverage
pip install opencv-python
pip install pytest
pip install scikit-image
coverage run -m pytest tests
codecov
# tox

# store artifacts (for example logs, binaries, etc)
# to be available in the web app or through the API
Expand Down

0 comments on commit 9b79612

Please sign in to comment.