Skip to content

Commit

Permalink
Add coverage summary instead
Browse files Browse the repository at this point in the history
  • Loading branch information
soujanyanmbri committed Aug 20, 2024
1 parent b47b6c3 commit dc0ac9b
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,21 @@ jobs:
IS_TESTING=True coverage run ./manage.py test --no-input crapi
coverage report
coverage xml -o coverage.xml
- name: Publish Coverage for workshop
uses: orgoro/[email protected]
- name: Coverage Report for workshop
uses: irongut/[email protected]
with:
coverageFile: services/workshop/coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
filename: 'services/workshop/coverage.xml'
badge: true
format: 'markdown'
output: 'both'

- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
with:
recreate: true
path: code-coverage-results.md

- name: node prettier
run: |
Expand Down

0 comments on commit dc0ac9b

Please sign in to comment.