From 8fa62fe0c6493211d2f698d53233792998187026 Mon Sep 17 00:00:00 2001 From: Florian Zumpe Date: Wed, 17 Jun 2026 13:57:10 +0200 Subject: [PATCH] Remove outdated coverage reports if existing before tests --- .gitea/workflows/sonar-scanner.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/sonar-scanner.yaml b/.gitea/workflows/sonar-scanner.yaml index 76ff677..3672fc8 100644 --- a/.gitea/workflows/sonar-scanner.yaml +++ b/.gitea/workflows/sonar-scanner.yaml @@ -43,7 +43,9 @@ jobs: API_PASSWORD: ${{ secrets.API_SECRET }} run: |- npm install -g c8; - test -s coverage/js/lcov.info || ( npm ci && npm run test:coverage ) + rm -rf coverage/js; + npm ci; + npm run test:coverage; - name: Run sonar-scanner env: