From d69ec600cdf9074bbb3adf646e68ffb588d43b5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Tr=C3=B6ger?= Date: Tue, 7 Oct 2025 15:56:49 +0200 Subject: [PATCH] Check for coverage output --- .gitea/workflows/test.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index ed85d78..0d38bee 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -48,6 +48,13 @@ jobs: arbeitszeitmessung- - name: Run Go Tests run: cd Backend && mkdir .test && go test ./... -coverprofile=.test/coverage.out -json > .test/report.json + - name: Verify coverage report exists + run: | + if [ -f "Backend/.test/coverage.out" ]; then + echo "Coverage report found" + else + echo "Coverage report not found" + fi - uses: SonarSource/sonarqube-scan-action@v6 env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}