release: v1.0.0 — Production
- FastAPI lifespan (deprecation fix, 0 warnings)
- 28 tests (vues, filtres, tris, APIs, CSRF, CORS, DB)
- CI/CD Gitea Actions (.gitea/workflows/ci.yml)
- Version 1.0.0: main.py, api.py, health endpoint
- CHANGELOG.md v1.0.0
- ARCHITECTURE.md: 12 tables, routes complètes
- ROADMAP: all versions ✅
This commit is contained in:
+18
-7
@@ -1,4 +1,4 @@
|
||||
name: CI
|
||||
name: FlowDeck CI
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -12,13 +12,24 @@ jobs:
|
||||
container: python:3.12-slim
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: pip install -r requirements.txt pytest
|
||||
- run: python -m pytest tests/ -v
|
||||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt pytest pytest-cov
|
||||
- name: Run tests with coverage
|
||||
env:
|
||||
GITEA_URL: https://git.dracodev.net
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
APP_SECRET_KEY: ci-test-key
|
||||
run: python -m pytest tests/ -v --tb=short --cov=app --cov-report=term
|
||||
- name: Coverage summary
|
||||
run: |
|
||||
python -m pytest tests/ --cov=app --cov-report=term 2>&1 | tail -20
|
||||
|
||||
lint:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
container: python:3.12-slim
|
||||
needs: test
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: pip install ruff
|
||||
- run: ruff check app/ --ignore F401,F841
|
||||
- name: Build Docker image
|
||||
run: docker build -t flowdeck .
|
||||
- name: Verify image
|
||||
run: docker run --rm flowdeck python -c "from app.main import app; print('OK')"
|
||||
|
||||
Reference in New Issue
Block a user