Skip to content

Commit 38babd1

Browse files
gkdncopybara-github
authored andcommitted
Run samples test in github CI only if the test exists
PiperOrigin-RevId: 547037557
1 parent 984c139 commit 38babd1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,7 @@ jobs:
7979
run: ./build_test.sh CI
8080
- name: Run samples tests
8181
if: matrix.test-target == 'samples'
82-
run: ./build_test_samples.sh CI
82+
run: |
83+
if [[ -f "./build_test_samples.sh" ]]; then
84+
./build_test_samples.sh CI
85+
fi

0 commit comments

Comments
 (0)