Output coverage result in PR comment for non-fork only (#45)

* Add threadx to ignore list in cmake folder

* Output coverage result in PR comment for non-fork only
This commit is contained in:
TiejunZhou 2023-11-22 16:54:35 +08:00 committed by GitHub
parent 9448cdfd6d
commit 4b842756e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,7 @@ jobs:
cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
- name: Create CheckRun for Code Coverage
if: (github.event_name == 'push') || (github.event.pull_request.head.repo.full_name == github.repository)
uses: LouisBrunner/checks-action@v1.6.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
@ -89,6 +90,7 @@ jobs:
output_text_description_file: code-coverage-results.md
- name: Add Code Coverage PR Comment
if: (github.event_name == 'push') || (github.event.pull_request.head.repo.full_name == github.repository)
uses: marocchino/sticky-pull-request-comment@v2
with:
append: true

1
test/cmake/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
threadx