-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #230 from odscjames/github-actions
ci: Travis -> GitHub Actions
- Loading branch information
Showing
2 changed files
with
24 additions
and
12 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Test | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
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 | ||
- run: wget 'https://specs.frictionlessdata.io/schemas/tabular-data-package.json' | ||
- name: Check that datapackage.json is well formed JSON | ||
run: python -c 'import json; json.load(open("datapackage.json"))' | ||
- name: Check that datapackage.json validates against the tabular data package json schema | ||
run: jsonschema -i datapackage.json tabular-data-package.json |
This file was deleted.
Oops, something went wrong.