|
|
@ -50,6 +50,7 @@ jobs: |
|
|
name: Launching tests |
|
|
name: Launching tests |
|
|
command: | |
|
|
command: | |
|
|
. venv/bin/activate |
|
|
. venv/bin/activate |
|
|
|
|
|
pip install -r requirements/dev.txt |
|
|
python3.7 -m flask db upgrade |
|
|
python3.7 -m flask db upgrade |
|
|
python3.7 -m flask test |
|
|
python3.7 -m flask test |
|
|
deploy-heroku: |
|
|
deploy-heroku: |
|
|
@ -60,7 +61,7 @@ jobs: |
|
|
- run: |
|
|
- run: |
|
|
command: | |
|
|
command: | |
|
|
git config --global push.default matching |
|
|
git config --global push.default matching |
|
|
git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git mainhero |
|
|
|
|
|
|
|
|
git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git main |
|
|
- run: |
|
|
- run: |
|
|
name: Smoke test |
|
|
name: Smoke test |
|
|
command: | |
|
|
command: | |
|
|
|