Skip to content

Commit

Permalink
Test Report
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-martinsmith committed Aug 21, 2024
1 parent dce44b2 commit a428399
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ env:
BUILD_CONFIG: Release
BUILD_PLATFORM: Any CPU
PACK_PARAMETERS: ''
COVERAGE_WARNING_THRESHOLD: 60
COVERAGE_ERROR_THRESHOLD: 80
NUGET_OUTPUT_FOLDER: nupkgs
BRANCH_RELEASE_CANDIDATE: rc/**

Expand Down Expand Up @@ -127,7 +129,17 @@ jobs:
hide_complexity: false
indicators: true
output: both
thresholds: '60 80'
thresholds: '${{ env.COVERAGE_ERROR_THRESHOLD }} ${{ env.COVERAGE_WARNING_THRESHOLD }}'

- name: Test Results Summary
uses: bibipkins/[email protected]
if: success() || failure()
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-title: 'Unit Test Results'
results-path: ./TestResults/*.trx
coverage-path: "**/coverage.cobertura.xml"
coverage-threshold: ${{ env.COVERAGE_WARNING_THRESHOLD }}

- name: Pull Request - Add Coverage Comment
uses: marocchino/sticky-pull-request-comment@v2
Expand Down

0 comments on commit a428399

Please sign in to comment.