Skip to content

Commit 2c7416f

Browse files
committed
Fix archiving log and screenshots on test failure on CI for Windows and
Mac Signed-off-by: Aurélien Pupier <[email protected]>
1 parent 2236b1e commit 2c7416f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/main.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,11 @@ jobs:
145145
if: |
146146
(failure() || cancelled()) &&
147147
(steps.uiTest_Ubuntu.outcome == 'failure' ||
148-
steps.uiTest_MacOS_Windows.outcome == 'failure' ||
148+
steps.uiTest_MacOS.outcome == 'failure' ||
149+
steps.uiTest_Windows.outcome == 'failure' ||
149150
steps.uiTest_Ubuntu.outcome == 'cancelled' ||
150-
steps.uiTest_MacOS_Windows.outcome == 'cancelled')
151+
steps.uiTest_MacOS.outcome == 'cancelled' ||
152+
steps.uiTest_Windows.outcome == 'cancelled')
151153
with:
152154
name: ${{ matrix.os }}-${{ matrix.version }}-ui-test-logs
153155
path: test-resources/settings/logs/*
@@ -157,9 +159,11 @@ jobs:
157159
if: |
158160
(failure() || cancelled()) &&
159161
(steps.uiTest_Ubuntu.outcome == 'failure' ||
160-
steps.uiTest_MacOS_Windows.outcome == 'failure' ||
162+
steps.uiTest_MacOS.outcome == 'failure' ||
163+
steps.uiTest_Windows.outcome == 'failure' ||
161164
steps.uiTest_Ubuntu.outcome == 'cancelled' ||
162-
steps.uiTest_MacOS_Windows.outcome == 'cancelled')
165+
steps.uiTest_MacOS.outcome == 'cancelled' ||
166+
steps.uiTest_Windows.outcome == 'cancelled')
163167
with:
164168
name: ${{ matrix.os }}-${{ matrix.version }}-ui-test-screenshots
165169
path: test-resources/screenshots/*/*.png

0 commit comments

Comments
 (0)