Skip to content

Commit

Permalink
chore: log rather than comment final coverage output
Browse files Browse the repository at this point in the history
  • Loading branch information
nadir-akhtar committed Dec 11, 2024
1 parent 375a451 commit 76740f0
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,5 @@ jobs:
echo "comment_contents<<$EOF" >> $GITHUB_OUTPUT
echo "$(lcov --list ./lcov.info.pruned --ignore-errors inconsistent)" >> $GITHUB_OUTPUT
echo "$EOF" >> $GITHUB_OUTPUT
- name: Comment the full report
uses: actions/github-script@v7
with:
script: |
let body = `${{ steps.print_coverage.outputs.comment_contents }}`;
github.rest.issues.createComment({
issue_number: ${{ steps.get_issue_number.outputs.result }},
owner: context.repo.owner,
repo: context.repo.repo,
body: `
\`\`\`
${body}
\`\`\`
`
})
- name: Log Coverage Report
run: echo "${{ steps.print_coverage.outputs.comment_contents }}"

0 comments on commit 76740f0

Please sign in to comment.