Merge pull request #1292 from oasis-tcs/editor-revision-2026-02-25 #58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: RVISC Mapping Test (Registry) | |
| on: | |
| push: | |
| paths: | |
| - 'registry/id/**' | |
| pull_request: | |
| paths: | |
| - 'registry/id/**' | |
| jobs: | |
| mapping-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Prepare environment | |
| run: | | |
| sudo apt-get remove python3-jsonschema | |
| sudo apt-get update -q && sudo apt-get install -y --no-install-recommends -qq \ | |
| python3 \ | |
| python3-simplejson \ | |
| python3-jsonpath-rw \ | |
| python3-pip \ | |
| python3-setuptools \ | |
| python3-wheel | |
| pip3 install jsonschema[format] | |
| - name: Check jsonschema version | |
| run: python3 -c "from importlib.metadata import version; print(version('jsonschema'))" | |
| - name: Test registry/id/mapping.json against RVISC Mapping schema and for consistency | |
| run: ./registry/id/test/check_mapping.sh |