From b1d863ee00d276d2aae3c3a489b37be8f6d11207 Mon Sep 17 00:00:00 2001 From: Magnus Hedemark Date: Fri, 14 Aug 2026 22:18:37 -0400 Subject: [PATCH] ci(validate): recurse when discovering skill test files Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 6d144c0..8e62f96 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -74,7 +74,7 @@ jobs: run: | set -euo pipefail for dir in */scripts; do - if compgen -G "$dir/test_*.py" > /dev/null 2>&1; then + if find "$dir" -name 'test_*.py' | grep -q .; then echo "=== $dir ===" python3 -m pytest "$dir" -o "addopts=-ra --strict-markers --tb=short" -v --durations=10 fi