feat: publish CodexPi contest snapshot
Some checks are pending
Qualité / tests (push) Waiting to run

This commit is contained in:
CodexPi
2026-11-14 20:23:59 +01:00
commit 995b17a6e2
295 changed files with 36803 additions and 0 deletions

43
.github/workflows/quality.yml vendored Normal file
View File

@@ -0,0 +1,43 @@
name: Qualité
on:
push:
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: pip
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Dépendances Python
run: pip install -r backend/requirements.txt -r backend/requirements-dev.txt pip-audit
- name: Audit des dépendances Python
run: python -m pip_audit -r backend/requirements.txt -r backend/requirements-dev.txt
- name: Tests backend
run: pytest -q
env:
PYTHONPATH: backend
- name: Dépendances frontend
working-directory: frontend
run: npm ci
- name: Audit des dépendances frontend
working-directory: frontend
run: npm audit --audit-level=low
- name: Tests et build frontend
working-directory: frontend
run: npm test && npm run build
- name: Navigateur Playwright
working-directory: frontend
run: npx playwright install --with-deps chromium
- name: Parcours, accessibilité et captures
working-directory: frontend
run: npm run test:e2e