Skip to content

Commit c993d06

Browse files
committed
Use YAML for schema tests
and don't convert to JSON
1 parent 882d1ca commit c993d06

File tree

9 files changed

+50
-3205
lines changed

9 files changed

+50
-3205
lines changed

.github/workflows/schema-tests.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ name: schema-test
44
# Issue: https://github.com/OAI/OpenAPI-Specification/pull/2489
55

66
#
7-
# This workflow
8-
# - converts the YAML metaschemas to JSON
9-
# - runs the npm test script to validate passing and failing testcases for the metaschemas
7+
# This workflow runs the npm test script to validate passing and failing
8+
# testcases for the metaschemas
109
#
1110

1211
# run this on push to any branch and creation of pull-requests
@@ -34,8 +33,5 @@ jobs:
3433
git checkout remotes/origin/main -- package.json package-lock.json
3534
npm ci
3635
37-
- name: convert YAML metaschemas to JSON
38-
run: find schemas/v3* -type f -name "*.yaml" | xargs node scripts/yaml2json/yaml2json.js
39-
4036
- name: Run tests
4137
run: npm run test

0 commit comments

Comments
 (0)