Skip to content

Commit

Permalink
updated the CircleCI config file to instal lthe project code as an ed…
Browse files Browse the repository at this point in the history
…itable package, install tox, and run tox for tests

#53
  • Loading branch information
monocongo committed Jan 29, 2020
1 parent c5176f1 commit a8e75de
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@ jobs:
build:
docker:
# specify the version you desire here
# use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
- image: circleci/python:3.6.1

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4
- image: circleci/python:3.6.1

working_directory: ~/repo

Expand All @@ -32,7 +28,8 @@ jobs:
command: |
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
pip install -e .
pip install tox
- save_cache:
paths:
Expand All @@ -48,7 +45,7 @@ jobs:
name: run tests
command: |
. venv/bin/activate
python manage.py test
tox
- store_artifacts:
path: test-reports
Expand Down

0 comments on commit a8e75de

Please sign in to comment.