fix(ci): match test/ directory in change detection (was tests/)

The QR test files live in test/ (singular) but detect-changes.sh
only matched tests/ (plural), causing the matrix to skip.
This commit is contained in:
russell@unturf.com 2026-01-28 06:43:41 -05:00
parent bec3f8c289
commit d517236663

View file

@ -137,7 +137,7 @@ declare -A DIR_MAP=(
)
# Also check for changes in test files, scripts, or core infra
if echo "$CHANGED_FILES" | grep -qE '^(tests/|scripts/|\.gitlab-ci\.yml|clients/\{.*\}/)'; then
if echo "$CHANGED_FILES" | grep -qE '^(tests?/|scripts/|\.gitlab-ci\.yml|clients/\{.*\}/)'; then
# If tests, scripts, or multi-language client templates changed, test ALL SDKs
echo '{"changed_langs": ["all"], "reason": "Core infrastructure changed", "test_all": true}'
exit 0