Skip to content

Commit

Permalink
add diff report
Browse files Browse the repository at this point in the history
  • Loading branch information
vladopajic committed Nov 21, 2024
1 parent 791a6bd commit 434ccbb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ jobs:
with:
name: windows-latest-profile

- name: download artifact (main.breakdown)
id: download-artifact
uses: dawidd6/action-download-artifact@v6
with:
branch: main
workflow_conclusion: success
name: main.breakdown
if_no_artifact_found: fail

- name: check test coverage
id: coverage
uses: vladopajic/go-test-coverage@v2
Expand All @@ -61,6 +70,7 @@ jobs:
git-branch: badges
git-token: ${{ github.ref_name == 'main' && secrets.GITHUB_TOKEN || '' }}
breakdown-file-name: ${{ github.ref_name == 'main' && 'main.breakdown' || '' }}
diff-base-breakdown-file-name: ${{ github.ref_name != 'main' && 'main.breakdown' || '' }}

# Post coverage report as comment
- name: find pull request ID
Expand Down

0 comments on commit 434ccbb

Please sign in to comment.