From bf95b231e4630062963f4c87fb7809c6dd458919 Mon Sep 17 00:00:00 2001 From: Evgeny Torbin Date: Wed, 1 Jul 2026 16:50:04 +0200 Subject: [PATCH] ci: check file existence before shuffling test apps --- .gitlab/ci/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab/ci/build.yml b/.gitlab/ci/build.yml index e8752d09821..360bac003d8 100644 --- a/.gitlab/ci/build.yml +++ b/.gitlab/ci/build.yml @@ -102,8 +102,8 @@ generate_build_child_pipeline: -p examples -p tools/test_apps --modified-files $MR_MODIFIED_FILES - - shuf test_related_apps.txt -o test_related_apps.txt - - shuf non_test_related_apps.txt -o non_test_related_apps.txt + - '[ -f test_related_apps.txt ] && shuf test_related_apps.txt -o test_related_apps.txt || echo "test_related_apps.txt not found, skipping."' + - '[ -f non_test_related_apps.txt ] && shuf non_test_related_apps.txt -o non_test_related_apps.txt || echo "non_test_related_apps.txt not found, skipping."' build_child_pipeline: stage: build