Skip to content

build(deps): bump idna from 3.11 to 3.15 in /requirements #1322

build(deps): bump idna from 3.11 to 3.15 in /requirements

build(deps): bump idna from 3.11 to 3.15 in /requirements #1322

Workflow file for this run

name: 🔮 CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
permissions: {}
env:
DJANGO_SETTINGS_MODULE: config.settings.test
VIRTUAL_ENV: .venv
PGPORT: 5432
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
services:
postgres:
# Docker Hub image
image: postgres:17
env:
POSTGRES_PASSWORD: password
ports:
- 5432:5432
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: 🐘 Non-durable PostgreSQL
run: |
psql <<SQL
ALTER SYSTEM SET fsync=off;
ALTER SYSTEM SET synchronous_commit=off;
ALTER SYSTEM SET full_page_writes=off;
SQL
docker kill --signal=SIGHUP ${{ job.services.postgres.id }}
env:
PGPASSWORD: password
PGHOST: localhost
PGUSER: postgres
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: 💾 Create a database to check migrations
run: |
psql <<SQL
CREATE DATABASE pilotage_django;
SQL
env:
PGPASSWORD: password
PGHOST: localhost
PGUSER: postgres
- name: ⏬ Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: true
cache-dependency-glob: "requirements/test.txt"
- name: 📥 Install Python dependencies
run: |
make venv
echo "$VIRTUAL_ENV/bin" >> $GITHUB_PATH
- name: ✨ Verify quality
run: make quality
- name: 🤹 Django tests
run: make test