Feature admin -> dev 리뷰 응답 데이터 및 문의 권한 수정 #57
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: Customk Docker CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Inject .env file | |
run: echo "${{ secrets.ENV_PROD }}" > ./.env | |
- name: Run lint and type checks | |
run: | | |
docker compose -f docker-compose-dev.yml run --rm app sh -c "mypy . && ruff check --no-cache && ruff format --no-cache" | |
- name: Run Pytest | |
run: docker compose -f docker-compose-dev.yml run --rm app sh -c "pytest" |