From 3408cd516251685397a77b3a40118d11f7d4209c Mon Sep 17 00:00:00 2001 From: Frank Arkhurst Odoom Date: Fri, 24 May 2024 07:10:04 +0000 Subject: [PATCH] Update development-action.yml refactor code cov tasks --- .github/workflows/development-action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/development-action.yml b/.github/workflows/development-action.yml index 7dcfd7f..f144067 100644 --- a/.github/workflows/development-action.yml +++ b/.github/workflows/development-action.yml @@ -24,11 +24,12 @@ jobs: - name: Build run: dotnet build - name: Test - run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:CoverletOutput=TestResults/ + run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:CoverletOutput=TestResults/ --collect:"XPlat Code Coverage" - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4.0.1 with: token: ${{ secrets.CODECOV_TOKEN }} + file: ./TestResults/coverage.cobertura.xml flags: unittests name: codecov-umbrella #fail_ci_if_error: true