Skip to content

Commit

Permalink
Put regression results into workflow summary even for not PRs
Browse files Browse the repository at this point in the history
The Continuous Integration workflow runs on
- pushes
- pull requests
- a schedule
- workflow calls from database testing

With this change, we create the regression test summary and cat it into
the workflow summary for all job types,
though it is still only uploaded as an artifact
for pull requests.
  • Loading branch information
rwest committed Jul 24, 2023
1 parent 6147eeb commit c3e4ce0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,9 @@ jobs:
fi
- name: Prepare Results for PR Comment
if : ${{ github.event_name == 'pull_request' }}
if: ${{ env.REFERENCE_JOB == 'false' }}
env:
PR_NUMBER: ${{ github.event.number }}
PR_NUMBER: ${{ github.event.number || github.event.after || github.event_name }}
run: |
echo $PR_NUMBER > summary.txt
echo "## Regression Testing Results" >> summary.txt
Expand Down

0 comments on commit c3e4ce0

Please sign in to comment.