Merge pull request #101 from harrietrs/hs_ethical_ai_improvement #178
This file contains 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: Validate terms | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Validate terms | |
steps: | |
- name: Get files | |
uses: actions/checkout@v2 | |
- name: Install python dependencies | |
run: pip install -r tests/requirements.txt | |
- name: Validate JSON schema | |
run: jsonschema --instance data/terms.json data/terms.schema.json | |
- name: Validate JSON contents | |
working-directory: ./tests | |
run: python validate_json.py |