Enable GitHub actions

This commit is contained in:
Jeremy Stretch 2019-12-19 11:33:07 -05:00 committed by GitHub
parent a43552b07a
commit dd37a2b39e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

22
.github/workflows/validation.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Validate definitions
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.6
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run tests
run: pytest --tb=line -v