Skip to content

Commit

Permalink
Add cov PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJaeger committed Sep 10, 2024
1 parent 08fe879 commit b2e23f9
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/pydesigner_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ on:
branches: master
tags:
- "**"


permissions:
pull-requests: write

jobs:
pre-commit:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -81,7 +82,7 @@ jobs:
path: ./test_results/coverage.xml

- name: Code coverage summary report
uses: irongut/CodeCoverageSummary@v1.2.0
uses: irongut/CodeCoverageSummary@v1.3.0
with:
filename: ./test_results/coverage.xml
badge: true
Expand All @@ -93,6 +94,13 @@ jobs:
output: both
thresholds: '10 50'

- 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: Clean up
run: |
docker container rm pydesigner-test-container
Expand Down

0 comments on commit b2e23f9

Please sign in to comment.