PATCH: making page.empty a required field #281
Workflow file for this run
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: Test Schemas (against meta schemas) | |
on: [push, pull_request] | |
jobs: | |
test_schemas: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
architecture: x64 | |
- run: sudo apt-get install python3-dev graphviz libgraphviz-dev pkg-config | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | |
- run: pip install -r requirements.txt | |
- name: Check the json schemas validate against the metaschema | |
run: check-jsonschema schema/*.json --check-metaschema | |
- run: wget 'https://specs.frictionlessdata.io/schemas/tabular-data-package.json' | |
- name: Check that datapackage.json validates against the tabular data package json schema | |
run: check-jsonschema datapackage.json --schemafile tabular-data-package.json |