Skip to content

Commit 893f4ce

Browse files
committed
upload logs in case of failure
1 parent 881fe3a commit 893f4ce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci-testing-deploy.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1904,19 +1904,23 @@ jobs:
19041904
- name: test
19051905
run: ./ci/github/system-testing/e2e.bash test
19061906
- name: dump docker logs
1907+
if: ${{ failure() }}
19071908
id: docker_logs_dump
19081909
run: ./ci/github/system-testing/e2e.bash dump_docker_logs
19091910
- name: upload docker logs
1911+
if: ${{ failure() }}
19101912
uses: actions/upload-artifact@v4
19111913
with:
19121914
name: ${{ github.job }}_docker_logs
19131915
path: ./tests/e2e/test_failures
19141916
- name: upload screenshots
1917+
if: ${{ failure() }}
19151918
uses: actions/upload-artifact@v4
19161919
with:
19171920
name: ${{ github.job }}_screenshots
19181921
path: tests/e2e/screenshots
19191922
- name: upload e2e logs
1923+
if: ${{ failure() }}
19201924
uses: actions/upload-artifact@v4
19211925
with:
19221926
name: ${{ github.job }}_logs
@@ -1956,14 +1960,17 @@ jobs:
19561960
run: |
19571961
./ci/github/system-testing/e2e-playwright.bash test
19581962
- name: dump docker logs
1963+
if: ${{ failure() }}
19591964
id: docker_logs_dump
19601965
run: ./ci/github/system-testing/e2e-playwright.bash dump_docker_logs
19611966
- name: upload docker logs
1967+
if: ${{ failure() }}
19621968
uses: actions/upload-artifact@v4
19631969
with:
19641970
name: ${{ github.job }}_docker_logs
19651971
path: ./tests/e2e-playwright/test_failures
19661972
- name: upload tracing if failed
1973+
if: ${{ failure() }}
19671974
uses: actions/upload-artifact@v4
19681975
with:
19691976
name: ${{ github.job }}_tracing

0 commit comments

Comments
 (0)