Skip to content

Commit

Permalink
back to cobertura
Browse files Browse the repository at this point in the history
  • Loading branch information
connorivy committed Jan 4, 2025
1 parent 3bea1e0 commit 9cb6741
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/buildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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
Expand Down

0 comments on commit 9cb6741

Please sign in to comment.