mirror of
https://github.com/azure-rtos/filex.git
synced 2025-01-18 01:22:52 +08:00
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:
parent
9448cdfd6d
commit
4b842756e2
2
.github/workflows/regression_test.yml
vendored
2
.github/workflows/regression_test.yml
vendored
@ -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
1
test/cmake/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
threadx
|
Loading…
x
Reference in New Issue
Block a user