Skip to content

Commit

Permalink
Merge pull request #230 from odscjames/github-actions
Browse files Browse the repository at this point in the history
ci: Travis -> GitHub Actions
  • Loading branch information
robredpath authored Nov 18, 2020
2 parents 3dbc86b + 9628811 commit 8bb7de5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
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
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

0 comments on commit 8bb7de5

Please sign in to comment.