Fix test-e2e.yml
This commit is contained in:
28
.github/workflows/test-e2e.yml
vendored
28
.github/workflows/test-e2e.yml
vendored
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user