Skip to content

Commit b2e6029

Browse files
committed
ci: run only executable files
1 parent 34a2817 commit b2e6029

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
- name: Run tests
2323
run: |
2424
for test_bin in build/test_*; do
25-
echo "Running $test_bin"
26-
./$test_bin
25+
if [ -x "$test_bin" ]; then
26+
echo "Running $test_bin"
27+
./$test_bin
28+
fi
2729
done

0 commit comments

Comments
 (0)