diff --git a/.github/workflows/bowtie.yml b/.github/workflows/bowtie.yml index 69eeb682..ff6516fe 100644 --- a/.github/workflows/bowtie.yml +++ b/.github/workflows/bowtie.yml @@ -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 @@ -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 diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..e7ba9d05 --- /dev/null +++ b/.gitmodules @@ -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 diff --git a/JSON-Schema-Test-Suite b/JSON-Schema-Test-Suite new file mode 160000 index 00000000..910905f6 --- /dev/null +++ b/JSON-Schema-Test-Suite @@ -0,0 +1 @@ +Subproject commit 910905f6a08a7d1ae38c41a0c846f9674be0ca7d