Skip to content

Commit

Permalink
updating coverage report check
Browse files Browse the repository at this point in the history
  • Loading branch information
roger-castaldo committed Dec 6, 2024
1 parent 0e355e6 commit 8a59a10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit-test-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
- name: Build-8.0
run: dotnet build --framework net8.0 --no-restore AutomatedTesting
- name: Test-8.0
run: dotnet test --framework net8.0 --no-build --verbosity normal --logger "trx;LogFileName=test-results.trx" AutomatedTesting
run: dotnet test --framework net8.0 --no-build --verbosity normal --logger "trx;LogFileName=test-results.trx" --collect:"Code Coverage" AutomatedTesting
- name: report results
uses: bibipkins/dotnet-test-reporter@v1.4.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-title: 'Unit Test Results'
results-path: ./**/*.trx
coverage-path: ./**/coverage.xml
coverage-path: ./**/*.coverage
coverage-threshold: 90
1 change: 1 addition & 0 deletions AutomatedTesting/AutomatedTesting.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<GenerateCodeCoverage>true</GenerateCodeCoverage>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 8a59a10

Please sign in to comment.