diff --git a/.github/workflows/master-ci.yml b/.github/workflows/master-ci.yml index 49fe4eac..f5e144c8 100644 --- a/.github/workflows/master-ci.yml +++ b/.github/workflows/master-ci.yml @@ -39,15 +39,12 @@ jobs: run: dotnet build --no-restore - name: Test run: dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage - - name: Code Coverage Report - uses: irongut/CodeCoverageSummary@v1.3.0 + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v4 with: - filename: coverage/**/coverage.cobertura.xml - badge: true - fail_below_min: true - format: markdown - hide_branch_rate: false - hide_complexity: true - indicators: true - output: both - thresholds: '60 80' + directory: ./coverage + fail_ci_if_error: false + flags: unittests + name: agileconfig + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true