-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update e2e-test-workflow-call-nightly.yml (#593)
- Loading branch information
1 parent
6d08c0a
commit 20d56ce
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,18 +110,26 @@ jobs: | |
ROLLAPP_WASM_CI: ${{ inputs.rollapp_wasm_ci }} | ||
RELAYER_CI: ${{ inputs.relayer_ci }} | ||
|
||
- name: Capture Failed Tests | ||
id: capture-success | ||
if: success() | ||
run: | | ||
echo "FAILED_TESTS=$(echo 'All tests passed')" >> $GITHUB_ENV | ||
echo "RUN_URL=https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" | ||
- name: Capture Failed Tests | ||
id: capture-failures | ||
if: failure() | ||
run: | | ||
echo "FAILED_TESTS=$(cat e2e-failures.log || echo 'All tests passed')" >> $GITHUB_ENV | ||
echo "FAILED_TESTS=$(cat e2e-failures.log)" >> $GITHUB_ENV | ||
echo "RUN_URL=https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" | ||
- name: Send Slack Notification | ||
uses: slackapi/[email protected] | ||
with: | ||
channel-id: C088KMGDNHW | ||
slack-token: ${{ secrets.SLACK_E2E_TEST_TOKEN }} | ||
custom-payload: | | ||
token: ${{ secrets.SLACK_E2E_TEST_TOKEN }} | ||
payload: | | ||
{ | ||
"text": "E2E Test Report for <$RUN_URL|GitHub Actions Run>", | ||
"blocks": [ | ||
|