Add annotation for test PR e2e test run results (#48029)

* Add annotation for test results

* Minor change to trigger e2e tests

* Fix command, add emoji

* Update emoji

* Add changelog

* Update from PR feedback

* Revert "Add changelog"

This reverts commit 03656848eb.

* Revert "Minor change to trigger e2e tests"

This reverts commit 64e3a87b2d.

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
This commit is contained in:
Jonathan Lane 2024-06-04 13:03:38 -07:00 committed by GitHub
parent f0feb62837
commit e8e1391fa0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 28 additions and 25 deletions

View File

@ -262,7 +262,7 @@ jobs:
'project-default-test-jobs',
'project-e2e-test-jobs',
'project-api-test-jobs',
'project-performance-test-jobs'
'project-performance-test-jobs',
]
if: ${{ always() && github.event_name == 'pull_request' }}
steps:
@ -284,7 +284,6 @@ jobs:
node .github/workflows/scripts/evaluate-jobs-conclusions.js
alert-on-failure:
name: 'Report results on Slack'
runs-on: 'ubuntu-20.04'
@ -295,7 +294,7 @@ jobs:
'project-default-test-jobs',
'project-e2e-test-jobs',
'project-api-test-jobs',
'project-performance-test-jobs'
'project-performance-test-jobs',
]
if: ${{ always() && github.event_name != 'pull_request' }}
steps:
@ -383,6 +382,10 @@ jobs:
echo "No report will be created for '$GITHUB_EVENT_NAME' event"
fi
- name: 'Add annotation to workflow run linking to PR'
if: ${{ github.event_name == 'pull_request' }}
run: |
echo "::notice::🔗🔗 The e2e report for this run is available at https://woocommerce.github.io/woocommerce-test-reports/pr/${{ github.event.pull_request.number }}/e2e"
api-test-reports:
name: 'Report API tests results'