diff --git a/.circleci/config.yml b/.circleci/config.yml index 82cda37..a9c3b8e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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