Dev->Main #321 #322 #324 #326 #332 #335 #328 #299 #331 #342 #341 #346 #340 #348 #349 #340 #354 #356 #358 #360 #362 #364 #366 #368 #370 #61
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: Backend test pipeline | |
on: | |
pull_request: | |
paths: | |
- 'backend/backend/**' | |
- 'backend/user/**' | |
- 'backend/manage.py' | |
- 'backend/requirements.txt' | |
- 'docker-compose.yml' | |
- '.github/workflows/ci-backend.yml' | |
push: | |
branches: | |
- main | |
- dev | |
paths: | |
- 'backend/backend/**' | |
- 'backend/user/**' | |
- 'backend/manage.py' | |
- 'backend/requirements.txt' | |
- 'docker-compose.yml' | |
- '.github/workflows/ci-backend.yml' | |
workflow_dispatch: | |
jobs: | |
backend-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: "[CI] Backend test" | |
run: | | |
echo | |
npm install deers > /dev/null 2>&1 | |
node -e "const deers = require('deers'); console.log(deers()[new Date().getMinutes()]);" || true | |
make | |
docker --version | |
docker-compose --version | |
make env-files | |
docker compose up -d --build --quiet-pull --remove-orphans | |
docker compose ps | |
docker network ls | |
docker compose logs db | |
docker compose logs backend | |
make git-stats | |
docker compose exec -T backend python manage.py test |