From 247955c919243e13ad9586f2dfff07de2af9a4da Mon Sep 17 00:00:00 2001 From: Prekzursil Date: Tue, 3 Mar 2026 09:26:32 +0200 Subject: [PATCH] ci: keep codecov uploads active on failing test steps Co-authored-by: Codex --- .github/workflows/codecov-analytics.yml | 2 ++ 1 file changed, 2 insertions(+) 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