From 9cb6741b0bfd916fefd5e992439c611979f33580 Mon Sep 17 00:00:00 2001 From: Connor Ivy Date: Sat, 4 Jan 2025 10:34:57 -0600 Subject: [PATCH] back to cobertura --- .github/workflows/buildAndTest.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/buildAndTest.yml b/.github/workflows/buildAndTest.yml index 771c095..1424bc3 100644 --- a/.github/workflows/buildAndTest.yml +++ b/.github/workflows/buildAndTest.yml @@ -30,20 +30,14 @@ jobs: run: | dotnet tool install --global dotnet-coverage export PATH="$PATH:/root/.dotnet/tools" - dotnet-coverage collect "dotnet run --project ./tests/MockMe.Tests.Runner/ -c Release --no-build" -f xml -s ./CodeCoverage.runsettings - - - name: Generate report - uses: danielpalme/ReportGenerator-GitHub-Action@5.4.3 - with: - reports: './output.xml' - targetdir: './tests/TestResults' - reporttypes: 'lcov' + dotnet-coverage collect "dotnet run --project ./tests/MockMe.Tests.Runner/ -c Release --no-build" -f cobertura -s ./CodeCoverage.runsettings - name: Coveralls uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.COVERALLS_REPO_TOKEN }} - file: ./tests/TestResults/lcov.info + file: ./output.cobertura.xml + base-path: . - name: Pack NuGet Packages run: dotnet pack --configuration Release --output ./packages /p:Version=0.0.1-dev