From eccecf35e35cb00ec7c875620051e260ee1bc56f Mon Sep 17 00:00:00 2001 From: Marcel Date: Sat, 9 May 2026 17:51:10 +0200 Subject: [PATCH] ci: add combined coverage gate to unit-tests job Runs test:coverage (server v8 + client Istanbul) after tests, hard-gates on both 80% branch thresholds, and uploads coverage/ as an artifact. Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 491097a8..e45d2a22 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -42,6 +42,19 @@ jobs: env: TZ: Europe/Berlin + - name: Run coverage (server + client) + run: npm run test:coverage + working-directory: frontend + env: + TZ: Europe/Berlin + + - name: Upload coverage reports + if: always() + uses: actions/upload-artifact@v4 + with: + name: coverage-reports + path: frontend/coverage/ + - name: Build frontend run: npm run build working-directory: frontend