Update ci_on_scratch.yml commented pre-commit temporary to succes build #170
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
jobs: | |
run-test: | |
name: Run Test on Docker | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
# -d でバックグラウンド実行 | |
- name: docker build | |
run: docker-compose up -d | |
# -Tは no TTY への対策 | |
- name: frontend test | |
run: docker-compose exec -T -e CI=true frontend yarn test | |
# -Tは no TTY への対策 | |
- name: backend test | |
run: docker-compose exec -T backend pytest |