From 08099dabb8bf103fee53c447dd88a394a9e5471b Mon Sep 17 00:00:00 2001 From: John Nunemaker Date: Thu, 1 Dec 2022 11:52:59 -0500 Subject: [PATCH] Skip cloud examples for now I think we need to do a token per matrix version so that they aren't fighting each other. --- script/examples | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/script/examples b/script/examples index ce16c12c4..77601c9c3 100755 --- a/script/examples +++ b/script/examples @@ -6,12 +6,14 @@ set -e # Run all examples individually for example in examples/**/*.rb; do # Skip examples that have setup in name - if echo $example | grep -vq "setup"; then - # Skip examples with a loop for now - if ! grep -q "loop do" "$example"; then - echo "\n\n>>> START: $example" - ruby $example - echo ">>> FINISH: $example" - fi + echo $example | grep -q "setup" && continue; + # Skip examples that have cloud in name + echo $example | grep -q "cloud" && continue; + + # Skip examples with a loop for now + if ! grep -q "loop do" "$example"; then + echo "\n\n>>> START: $example" + ruby $example + echo ">>> FINISH: $example" fi done