move location of testdata

This commit is contained in:
Shreyas Goenka 2024-08-27 20:01:27 +02:00
parent f8b5a5c2e8
commit 54abb3ba41
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
17 changed files with 3 additions and 3 deletions

View File

@ -115,10 +115,10 @@ jobs:
run: | run: |
go run main.go bundle schema > schema.json go run main.go bundle schema > schema.json
for file in ./bundle/tests/schema/pass/*.yml; do for file in ./bundle/internal/schema/testdata/pass/*.yml; do
ajv test -s schema.json -d $file --valid ajv test -s schema.json -d $file --valid
done done
for file in ./bundle/tests/schema/fail/*.yml; do for file in ./bundle/internal/schema/testdata/fail/*.yml; do
ajv test -s schema.json -d $file --invalid ajv test -s schema.json -d $file --invalid
done done