mirror of
https://github.com/eclipse-threadx/threadx.git
synced 2025-11-16 04:24:48 +00:00
separate PR results for multiple jobs
This commit is contained in:
3
.github/workflows/regression_template.yml
vendored
3
.github/workflows/regression_template.yml
vendored
@@ -97,6 +97,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "## Coverage Report ${{ inputs.result_affix }}" >> $GITHUB_STEP_SUMMARY
|
echo "## Coverage Report ${{ inputs.result_affix }}" >> $GITHUB_STEP_SUMMARY
|
||||||
cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
|
cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
|
||||||
|
if [ "${{ inputs.result_affix }}" != "" ]; then cp code-coverage-results.md code-coverage-results${{ inputs.result_affix }}.md; fi
|
||||||
|
|
||||||
- name: Create CheckRun for Code Coverage
|
- name: Create CheckRun for Code Coverage
|
||||||
if: (github.event_name == 'push') || (github.event.pull_request.head.repo.full_name == github.repository)
|
if: (github.event_name == 'push') || (github.event.pull_request.head.repo.full_name == github.repository)
|
||||||
@@ -113,7 +114,7 @@ jobs:
|
|||||||
if: (github.event_name == 'push') || (github.event.pull_request.head.repo.full_name == github.repository)
|
if: (github.event_name == 'push') || (github.event.pull_request.head.repo.full_name == github.repository)
|
||||||
uses: marocchino/sticky-pull-request-comment@v2
|
uses: marocchino/sticky-pull-request-comment@v2
|
||||||
with:
|
with:
|
||||||
path: code-coverage-results.md
|
path: code-coverage-results${{ inputs.result_affix }}.md
|
||||||
|
|
||||||
deploy_code_coverage:
|
deploy_code_coverage:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user