ci(backend): add coverage report generation and upload

This commit is contained in:
senke 2026-02-14 20:21:28 +01:00
parent 0d31772d66
commit 7b3356eb6b
2 changed files with 8 additions and 2 deletions

View file

@ -36,7 +36,13 @@ jobs:
govulncheck ./...
- name: Run unit tests
run: go test ./internal/handlers/... ./internal/services/... -short -timeout 5m
run: go test ./internal/handlers/... ./internal/services/... -short -coverprofile=coverage.out -covermode=atomic -timeout 5m
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: go-coverage
path: veza-backend-api/coverage.out
test-integration:
runs-on: ubuntu-latest

View file

@ -35,7 +35,7 @@ Veza est une **plateforme audio collaborative** de type SaaS (streaming, marketp
| 1.4 | Rate limit logs/frontend | Fait | fix(api): add rate limiting... |
| 1.5 | Tests Go sans -short | Fait | ci(backend): run Go tests... |
| 1.6 | Gitleaks CI | Fait | ci: add gitleaks secret scanning |
| 1.7 | Rapports couverture | À faire | - |
| 1.7 | Rapports couverture | Fait | ci(backend): add coverage... |
---