Skip to content

Guidance page on docs to signpost database schema files #184

Guidance page on docs to signpost database schema files

Guidance page on docs to signpost database schema files #184

Workflow file for this run

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