Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerboa-app committed Apr 26, 2024
1 parent 3944d0e commit 5c632d4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-and-test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,19 @@ jobs:
name: coverage
path: tarpaulin-report.json

- name: Generate summary
id: summary
run: echo "SUMMARY=$(python3 .github/workflows/report.py)" >> $GITHUB_OUTPUT"

- name: Notify coverage
uses: actions/github-script@v7
env:
SUMMARY: ${{ steps.summary.outputs.SUMMARY}}
with:
script: |
report=$(python3 .github/workflows/report.py)
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '$report'
body: '${{ SUMMARY }}'
})

0 comments on commit 5c632d4

Please sign in to comment.