mirror of
https://github.com/magnus919/agent-skills.git
synced 2026-09-19 07:27:04 +03:00
ci(validate): recurse when discovering skill test files
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
parent
156a01ede2
commit
b1d863ee00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user