From dd37a2b39e408490966eff5aedacf3bed6087759 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 19 Dec 2019 11:33:07 -0500 Subject: [PATCH] Enable GitHub actions --- .github/workflows/validation.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/validation.yml diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml new file mode 100644 index 00000000..84e47f92 --- /dev/null +++ b/.github/workflows/validation.yml @@ -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