Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update e2e-test-workflow-call-nightly.yml #593

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .github/workflows/e2e-test-workflow-call-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
Loading