diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 0df946a33a..b6be810a31 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -72,7 +72,7 @@ jobs: with: if-no-files-found: error name: coverage - path: coverage/clover.xml + path: coverage/cobertura-coverage.xml retention-days: 7 upload_coverage: @@ -102,7 +102,7 @@ jobs: uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 with: fail_ci_if_error: true - files: clover.xml + files: cobertura-coverage.xml flags: frontend name: Frontend diff --git a/package.json b/package.json index 7608c59fb4..fd6cb25f7e 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "test-backend": " dotnet test Backend.Tests/Backend.Tests.csproj", "test-backend:coverage": "dotnet test Backend.Tests/Backend.Tests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:Threshold=77", "test-frontend": " react-scripts test", - "test-frontend:coverage": "react-scripts test --coverage --watchAll=false", + "test-frontend:coverage": "react-scripts test --coverage --coverageReporters=cobertura --watchAll=false", "test-frontend:debug": " react-scripts --inspect-brk test --runInBand --no-cache", "test:ci": "dotnet test Backend.Tests/Backend.Tests.csproj && CI=true react-scripts test --ci --all --testResultsProcessor jest-teamcity-reporter", "wordlist": "hunspell-reader words"