ci(backend): add coverage report generation and upload
This commit is contained in:
parent
0d31772d66
commit
7b3356eb6b
2 changed files with 8 additions and 2 deletions
8
.github/workflows/backend-ci.yml
vendored
8
.github/workflows/backend-ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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... |
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue