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 }}