Browse Source

💚 move tasks

main
Julien Dudek 6 years ago
parent
commit
636fee3754
  1. 7
      .circleci/config.yml

7
.circleci/config.yml

@ -72,13 +72,12 @@ jobs:
# fallback to using the latest cache if no exact match is found
- run:
name: bd upgrade
name: db init & migrate
command: |
. venv/bin/activate
sleep 1
flask db init
flask db migrate
flask db upgrade
environment:
CONDUIT_SECRET: 'something-really-secret'
FLASK_APP: /home/circleci/repo/autoapp.py
@ -94,9 +93,11 @@ jobs:
# https://pytest.org
# https://nose.readthedocs.io
- run:
name: run tests
name: run upgrade & tests
command: |
. venv/bin/activate
sleep 1
flask db upgrade
flask test
environment:
CONDUIT_SECRET: 'something-really-secret'

Loading…
Cancel
Save