Skip to content

Commit

Permalink
Fix Bowtie tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmior committed May 20, 2024
1 parent cb5a0dd commit 532eebb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/bowtie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
- name: Install Bowtie
run: pip install bowtie-json-schema==2023.8.16
- uses: actions/checkout@v4
with:
submodules: true
- name: Coursier cache
uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1
Expand All @@ -26,7 +28,7 @@ jobs:
- name: Tag image
run: docker tag jsonoid-discovery:latest localhost/jsonoid-discovery
- name: Run Bowtie tests
run: mkdir bowtie && bowtie suite -V -i localhost/jsonoid-discovery https://github.com/json-schema-org/JSON-Schema-Test-Suite/tree/main/tests/draft2020-12 > bowtie/bowtie.json
run: mkdir bowtie && bowtie suite -V -i localhost/jsonoid-discovery JSON-Schema-Test-Suite/tests/draft2020-12/ > bowtie/bowtie.json
- name: Generate Bowtie report
run: (cd bowtie; bowtie report -b badges bowtie.json)
- name: Upload report artifact
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "JSON-Schema-Test-Suite"]
path = JSON-Schema-Test-Suite
url = https://github.com/json-schema-org/JSON-Schema-Test-Suite
1 change: 1 addition & 0 deletions JSON-Schema-Test-Suite
Submodule JSON-Schema-Test-Suite added at 910905

0 comments on commit 532eebb

Please sign in to comment.