Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vb2ae authored Nov 7, 2024
1 parent 5ff783b commit 6581760
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,18 @@ jobs:
- name: Run Unit Tests
run: dotnet test ${{env.caliburn_sln}} --configuration Release --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage

- name: Code Coverage Report
uses: irongut/[email protected]
- name: Create Test Coverage Badge
uses: simon-k/[email protected]
id: create_coverage_badge
with:
filename: coverage/**/coverage.cobertura.xml
badge: true
fail_below_min: false
format: markdown
hide_branch_rate: false
hide_complexity: true
indicators: true
output: both
thresholds: '30 80'
label: Unit Test Coverage
color: brightgreen
path: <MyProject>.Tests/TestResults/coverage.opencover.xml
gist-filename: code-coverage.json
gist-id: 1234567890abcdef1234567890abcdef
gist-auth-token: ${{ secrets.GIST_AUTH_TOKEN }}
- name: Print code coverage
run: echo "Code coverage percentage ${{steps.create_coverage_badge.outputs.percentage}}%"

- name: Build feature tutorial
run: msbuild ${{env.caliburn_tutorial}} /t:Build /p:Configuration=${{env.build_configuration}}
Expand Down

0 comments on commit 6581760

Please sign in to comment.