Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed May 26, 2024
1 parent 8aa8d2e commit 20ec152
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,30 +61,30 @@ jobs:
run: npm ci

- name: Coverage
run: echo 'Hi' > .coverage.info # npm run coverage
run: echo 'Hi\nBye\n' > .coverage.info # npm run coverage

- name: Display coverage report
id: coverage
run: cat ./.coverage.info
run: cat .coverage.info

- name: Find Code Coverage comment
uses: peter-evans/find-comment@v3
id: fc
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: Axelar Code Coverage Summary
body-includes: Code Coverage Summary

- name: Create or update Code Coverage comment
uses: peter-evans/create-or-update-comment@v4
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body: |
## Axelar Code Coverage Summary
### Code Coverage Summary
<details>
<summary>Click to expand the full report</summary>
<summary>Click to see the code coverage report</summary>
```
${{ steps.coverage.outputs.cmd_output }}
Expand Down

0 comments on commit 20ec152

Please sign in to comment.