Skip to content

Commit

Permalink
chore: added code coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
Teodor92 committed Dec 16, 2023
1 parent 2f402de commit 3869f69
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,17 @@ jobs:
run: dotnet build --no-restore

- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test --logger "trx" /p:CollectCoverage=true /p:CoverletOutputFormat=lcov

- name: Upload Test Results
uses: actions/upload-artifact@v2
if: success() || failure()
with:
name: test-results
path: /test/MoreDotNet.Tests/TestResults/*.trx

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: './test/MoreDotNet.Tests/coverage.net8.0.info'

0 comments on commit 3869f69

Please sign in to comment.