Browse Source

💚 the last test for test

main
Julien Dudek 6 years ago
parent
commit
c2de431195
  1. 15
      .circleci/config.yml

15
.circleci/config.yml

@ -61,25 +61,12 @@ jobs:
. venv/bin/activate
sleep 1
flask db upgrade
slask test
environment:
CONDUIT_SECRET: 'something-really-secret'
FLASK_APP: /home/circleci/repo/autoapp.py
DATABASE_URL: postgresql://myUsr:somePwd@localhost:5432/myUsr
FLASK_DEBUG: 1
# this example uses Django's built-in test-runner
# other common Python testing frameworks include pytest and nose
# https://pytest.org
# https://nose.readthedocs.io
- run:
name: run tests
command: |
. venv/bin/activate
flask test
environment:
CONDUIT_SECRET: 'something-really-secret'
FLASK_APP: /home/circleci/repo/autoapp.py
FLASK_DEBUG: 1
DATABASE_URL: postgresql://myUsr:somePwd@localhost:5432/myUsr
- save_cache:
paths:
- venv

Loading…
Cancel
Save