Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit 76865fe

Browse files
committed
ci: Skip shouldi for root package examples
Signed-off-by: John Andersen <[email protected]>
1 parent 4208a2e commit 76865fe

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.ci/run.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ function run_plugin_examples() {
1717
fi
1818
# Run example tests in top level examples directory
1919
for dir in $(find . -type d); do
20+
# Skip shouldi if we're in the root package
21+
set +e
22+
within_shouldi=$(echo "${dir}" | grep "shouldi")
23+
set -e
24+
if [ "x${PLUGIN}" != "x." ] && [ "x${within_shouldi}" != "x" ]; then
25+
continue
26+
fi
2027
# Run example tests in examples subdirectories
2128
cd "${SRC_ROOT}/${PLUGIN}/examples"
2229
cd "${dir}"

0 commit comments

Comments
 (0)