[i18n] Corrige une faute d’orthographe dans le gestionnaire d’étape e… #3
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: 🔮 CI - Main checks | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
DJANGO_SETTINGS_MODULE: config.settings_test | |
PYTHONPATH: . | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11", "3.12", "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@v3 | |
- name: 🐍 Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: 🌍 Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install poetry | |
pip install ruff | |
poetry install --no-root | |
- name: 📄 Copy empty .env.test to .env | |
run: | | |
cp .env.test .env | |
- name: ✨ Black & ruff | |
run: | | |
make quality | |
- name: 🤹 Run the unit tests | |
run: | | |
make test-unit | |
- name: 🎨 Deploy starter content | |
run: | | |
make init | |
poetry run python manage.py create_demo_pages | |
env: | |
DJANGO_DEBUG: True |