diff --git a/.github/workflows/codecov-analytics.yml b/.github/workflows/codecov-analytics.yml index 55a881c..9185cc8 100644 --- a/.github/workflows/codecov-analytics.yml +++ b/.github/workflows/codecov-analytics.yml @@ -29,11 +29,13 @@ jobs: with: dotnet-version: '8.0.x' - name: Run tests with coverage + continue-on-error: true run: | mkdir -p coverage dotnet restore dotnet test tests/SwfocTrainer.Tests/SwfocTrainer.Tests.csproj -c Release /p:CollectCoverage=true /p:CoverletOutput=./TestResults/coverage.cobertura.xml /p:CoverletOutputFormat=cobertura - name: Upload coverage to Codecov + if: ${{ always() }} uses: codecov/codecov-action@v5 with: files: tests/SwfocTrainer.Tests/TestResults/coverage.cobertura.xml