File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Continuous Integration and Delivery
33on : [push]
44
55env :
6- IMAGE : docker.pkg.github.com/$GITHUB_REPOSITORY/web
6+ IMAGE : docker.pkg.github.com/$GITHUB_REPOSITORY/foo
77
88jobs :
99
@@ -80,21 +80,21 @@ jobs:
8080 - name : Install requirements
8181 run : docker exec fastapi-tdd pip install black flake8 isort pytest
8282 - name : Pytest
83- run : docker exec fastapi-tdd pytest .
83+ run : docker exec fastapi-tdd python -m pytest .
8484 - name : Flake8
85- run : docker exec fastapi-tdd flake8 .
85+ run : docker exec fastapi-tdd python -m flake8 .
8686 - name : Black
87- run : docker exec fastapi-tdd black . --check
87+ run : docker exec fastapi-tdd python -m black . --check
8888 - name : isort
89- run : docker exec fastapi-tdd /bin/sh -c "isort ./*/*.py --check-only"
89+ run : docker exec fastapi-tdd /bin/sh -c "python -m isort ./*/*.py --check-only"
9090
9191 deploy :
9292 name : Deploy to Heroku
9393 runs-on : ubuntu-latest
9494 needs : [build, test]
9595 env :
9696 HEROKU_APP_NAME : salty-fortress-93778
97- HEROKU_REGISTRY_IMAGE : registry.heroku.com/${HEROKU_APP_NAME}/web
97+ HEROKU_REGISTRY_IMAGE : registry.heroku.com/${HEROKU_APP_NAME}/foo
9898 steps :
9999 - name : Checkout master
100100 uses : actions/checkout@v1
You can’t perform that action at this time.
0 commit comments