Skip to content

Commit 2edfdaf

Browse files
committed
always() run the diags
when a step fails (e.g., e2e testing) the rest of the workflow will not run unless it's tagged with always(). and when something fails is exactly when we want to get some diags. move all references to "Runner Diagnostics" to use always() Signed-off-by: Jamo Luhrsen <[email protected]>
1 parent e74eb40 commit 2edfdaf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ jobs:
387387
uses: actions/checkout@v4
388388

389389
- name: Runner Diagnostics
390+
if: always()
390391
uses: ./.github/actions/diagnostics
391392

392393
- name: ovn upgrade
@@ -395,13 +396,15 @@ jobs:
395396
make -C test upgrade-ovn
396397
397398
- name: Runner Diagnostics
399+
if: always()
398400
uses: ./.github/actions/diagnostics
399401

400402
- name: Run E2E shard-conformance
401403
run: |
402404
make -C test shard-conformance
403405
404406
- name: Runner Diagnostics
407+
if: always()
405408
uses: ./.github/actions/diagnostics
406409

407410
- name: Export kind logs
@@ -634,6 +637,7 @@ jobs:
634637
run: make -C test traffic-flow-tests WHAT="setup"
635638

636639
- name: Runner Diagnostics
640+
if: always()
637641
uses: ./.github/actions/diagnostics
638642

639643
- name: Run Tests
@@ -687,6 +691,7 @@ jobs:
687691
fi
688692
689693
- name: Runner Diagnostics
694+
if: always()
690695
uses: ./.github/actions/diagnostics
691696

692697
- name: Export kind logs
@@ -799,20 +804,23 @@ jobs:
799804
./contrib/kind-dual-stack-conversion.sh
800805
801806
- name: Runner Diagnostics
807+
if: always()
802808
uses: ./.github/actions/diagnostics
803809

804810
- name: Run Dual-Stack Tests
805811
run: |
806812
make -C test shard-test WHAT="Networking Granular Checks\|DualStack"
807813
808814
- name: Runner Diagnostics
815+
if: always()
809816
uses: ./.github/actions/diagnostics
810817

811818
- name: Run Dual-Stack Control-Plane Tests
812819
run: |
813820
make -C test control-plane WHAT="DualStack"
814821
815822
- name: Runner Diagnostics
823+
if: always()
816824
uses: ./.github/actions/diagnostics
817825

818826
- name: Export kind logs

0 commit comments

Comments
 (0)