Skip to content

Commit 36d0487

Browse files
authored
chore(ci): Fail job if build output is not found in UI tests (#5368)
1 parent 721e9bc commit 36d0487

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ui-tests-critical.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
with:
3939
name: SwiftUITestSample
4040
path: TestSamples/SwiftUITestSample/DerivedData/Build/Products/Debug-iphonesimulator/SwiftUITestSample.app
41+
# If no files are found, fail the job with an error, because they are required for the next step
42+
if-no-files-found: error
4143

4244
run-tests:
4345
name: Test iOS on Xcode ${{matrix.xcode}} - V2 # Up the version with every change to keep track of flaky tests

0 commit comments

Comments
 (0)