feature: 사용자 로그인 및 로그아웃 API #5
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: CI | |
on: | |
pull_request: | |
branches: [ "develop", "main" ] | |
jobs: | |
django-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build docker | |
run: docker compose build | |
- name: Migration test database | |
run: docker compose run django python src/manage.py migrate | |
- name: Run isort | |
run: docker compose run django isort . --check | |
- name: Run black | |
run: docker compose run django black . --check | |
- name: Run flake8 | |
run: docker compose run django flake8 | |
- name: Run Test | |
run: docker compose run django python src/manage.py test src |