chore(deps-dev): bump pytest-cov from 5.0.0 to 6.0.0 in /api in the testing group #1581
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 |