Skip to content

Commit

Permalink
updated the CircleCI config file to fix indentation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
monocongo committed Feb 1, 2020
1 parent 1bb3fc1 commit bbc4190
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,35 @@ jobs:
- image: circleci/python:3.7
working_directory: ~/repo
steps:
- checkout
- restore_cache:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "requirements.txt" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
pip install -e .
- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
pip install -e .
- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "requirements.txt" }}
- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "requirements.txt" }}

- run:
name: run tests
command: |
. venv/bin/activate
pip install codecov
pip install coverage
pip install opencv-python
pip install pytest
pip install scikit-image
coverage run -m pytest tests
codecov
- run:
name: run tests
command: |
. venv/bin/activate
pip install codecov
pip install coverage
pip install opencv-python
pip install pytest
pip install scikit-image
coverage run -m pytest tests
codecov
# store artifacts (for example logs, binaries, etc)
# to be available in the web app or through the API
Expand Down

0 comments on commit bbc4190

Please sign in to comment.