From 18dec459df051976b6c3e274a634eabc3e33ea10 Mon Sep 17 00:00:00 2001 From: Lars Date: Fri, 14 Jul 2023 14:39:34 +0200 Subject: [PATCH] chore: fail ci if codecov fails (#567) --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ef4090c4fb..ee22cfa501 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,6 +29,8 @@ jobs: - run: dotnet build /p:TreatWarningsAsErrors=true - run: dotnet test --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover - uses: codecov/codecov-action@v3 + with: + fail_ci_if_error: true package: needs: test runs-on: ubuntu-latest