File tree 2 files changed +24
-12
lines changed
2 files changed +24
-12
lines changed Original file line number Diff line number Diff line change
1
+ name : Test
2
+ on : [push, pull_request]
3
+
4
+ jobs :
5
+ build :
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - uses : actions/checkout@v2
9
+ - name : Setup python
10
+ uses : actions/setup-python@v2
11
+ with :
12
+ python-version : 3.8
13
+ architecture : x64
14
+ - run : sudo apt-get install python3-dev graphviz libgraphviz-dev pkg-config
15
+ - uses : actions/cache@v1
16
+ with :
17
+ path : ~/.cache/pip
18
+ key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
19
+ - run : pip install -r requirements.txt
20
+ - run : wget 'https://specs.frictionlessdata.io/schemas/tabular-data-package.json'
21
+ - name : Check that datapackage.json is well formed JSON
22
+ run : python -c 'import json; json.load(open("datapackage.json"))'
23
+ - name : Check that datapackage.json validates against the tabular data package json schema
24
+ run : jsonschema -i datapackage.json tabular-data-package.json
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments