Skip to content

Commit

Permalink
fix issue with circle ci not finding requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBlanke committed Nov 20, 2021
1 parent e949f8a commit ebb835b
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,32 @@ jobs:
build-and-test:
executor: python/default
steps:
- checkout
- python/load-cache
- python/install-deps
- python/save-cache
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "requirements/main.txt" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run:
name: Install
command:
python -m pip install --upgrade pip
pip install packaging
pip install pytest
pip install pytest-cov
pip install coveralls
pip install .

pytest --cov=hyperactive/ -p no:warnings

- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "requirements/main.txt" }}

- run:
name: Test
command:
pytest --cov=hyperactive/ -p no:warnings

workflows:
main:
Expand Down

0 comments on commit ebb835b

Please sign in to comment.