diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1f39ff9..24f23a3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,7 +26,13 @@ jobs: - name: Build run: dotnet build --configuration Release --no-restore - name: Test - run: dotnet test --no-restore --verbosity normal + run: dotnet test --configuration Release --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage + - name: Code Coverage Summary Report + uses: irongut/CodeCoverageSummary@v1.3.0 + with: + filename: coverage.cobertura.xml + + - name: Upload a Build Artifact uses: actions/upload-artifact@v3.1.1 with: