chore(deps): bump python from 3.12-alpine to 3.13-alpine in /api #1475
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: "Lint" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set UID | |
run: echo "UID=$(id --user)" > .env | |
- name: Lint the backend code | |
run: make api-lint | |
test: | |
name: "Test" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set UID | |
run: echo "UID=$(id --user)" > .env | |
- name: Build the containers | |
run: docker compose up -d --build db api | |
- name: Check for missing migrations | |
run: docker compose exec -T api ./manage.py makemigrations --check --dry-run --no-input | |
- name: Run backend tests | |
run: make api-test |