Fix test-e2e.yml

This commit is contained in:
Volodymyr Zotov
2025-12-12 14:28:54 -06:00
parent 80f581e4b5
commit 0f3110274c

View File

@@ -3,7 +3,15 @@ name: E2E Tests
on: on:
push: push:
branches: [main] branches: [main]
paths-ignore: &ignore_paths
- "docs/**"
- "config/**"
- "*.md"
- ".gitignore"
- "LICENSE"
- "tests/**"
pull_request: pull_request:
paths-ignore: *ignore_paths
repository_dispatch: repository_dispatch:
types: [ok-to-test-command] types: [ok-to-test-command]
@@ -93,15 +101,15 @@ jobs:
- name: Create comment on PR - name: Create comment on PR
uses: peter-evans/create-or-update-comment@v4 uses: peter-evans/create-or-update-comment@v4
with: with:
issue-number: ${{ github.event.client_payload.pull_request.number }} issue-number: ${{ github.event.client_payload.pull_request.number }}
body: | body: |
${{ ${{
needs.e2e.result == 'success' && '✅ E2E tests passed.' || needs.e2e.result == 'success' && '✅ E2E tests passed.' ||
needs.e2e.result == 'failure' && '❌ E2E tests failed.' || needs.e2e.result == 'failure' && '❌ E2E tests failed.' ||
'⚠️ E2E tests completed.' '⚠️ E2E tests completed.'
}} }}
[View test run output][1] [View test run output][1]
[1]: ${{ steps.vars.outputs.run-url }} [1]: ${{ steps.vars.outputs.run-url }}