Skip to content

Commit

Permalink
separate PR results for multiple jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
TiejunMS committed Nov 23, 2023
1 parent 1426ae5 commit 6da1354
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/regression_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ jobs:
run: |
echo "## Coverage Report ${{ inputs.result_affix }}" >> $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
if: (github.event_name == 'push') || (github.event.pull_request.head.repo.full_name == github.repository)
Expand All @@ -113,7 +114,7 @@ jobs:
if: (github.event_name == 'push') || (github.event.pull_request.head.repo.full_name == github.repository)
uses: marocchino/sticky-pull-request-comment@v2
with:
path: code-coverage-results.md
path: code-coverage-results${{ inputs.result_affix }}.md

deploy_code_coverage:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6da1354

Please sign in to comment.