Ajoute la possibilité de centrer le texte #403
This file contains hidden or 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 - Migrations Check | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- ready_for_review | |
jobs: | |
build: | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
env: | |
DJANGO_SETTINGS_MODULE: config.settings_test | |
PYTHONPATH: . | |
strategy: | |
matrix: | |
python-version: ["3.13"] | |
services: | |
postgres: | |
image: postgres:14-alpine | |
env: | |
POSTGRES_USER: dju | |
POSTGRES_PASSWORD: djpwd | |
POSTGRES_DB: djdb | |
ports: | |
- 5432:5432 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 🐍 Set up Python ${{ matrix.python-version }} with uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: 🌍 Install dependencies | |
run: | | |
uv sync --no-group dev | |
- name: 📄 Copy empty .env.test to .env | |
run: | | |
cp .env.test .env | |
- name: 🚧 Check pending migrations | |
run: | | |
uv run django-admin makemigrations --check --dry-run --noinput |