장바구니 추가 버그 수정 #11
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Check lint | |
run: | | |
pre-commit run --all-files | |
- name: Build docker image | |
run: | | |
docker build -t pangtok:latest . | |
- name: Run tests in docker container | |
run: | | |
docker run --rm pangtok:latest python -m pytest |