From fcf105919f1d98b567cfe92b6a7c3720f41a4953 Mon Sep 17 00:00:00 2001 From: Katie McLaughlin Date: Wed, 29 Jan 2025 11:05:03 +0100 Subject: [PATCH] debug: glob all Gemfiles (apart from root) --- .toys/kokoro-ci.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.toys/kokoro-ci.rb b/.toys/kokoro-ci.rb index 37eadb364..b6e0e935b 100644 --- a/.toys/kokoro-ci.rb +++ b/.toys/kokoro-ci.rb @@ -137,7 +137,7 @@ def list_products # Currently, we include the rails tests for the run/rails tutorial. omit_list = ["run/rails/test"] @products = [] - (Dir.glob("*/Gemfile") + Dir.glob("*/*/Gemfile")).each do |gemfile| + Dir.glob("*/**/Gemfile").each do |gemfile| dir = File.dirname gemfile if (File.directory?("#{dir}/test") && !omit_list.include?("#{dir}/test")) || (File.directory?("#{dir}/spec") && !omit_list.include?("#{dir}/spec")) ||