Commit 8412994f authored by Nathan Ward's avatar Nathan Ward
Browse files

Add github workflow for testing with pdk

parent 5bebc7c1
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
name: Run PDK tests

on:
  - push
  - pull_request

jobs:
  tests:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Validate
        uses: mysociety/action-pdk@master
        with:
          action: 'validate'

      - name: Run Unit Tests
        uses: mysociety/action-pdk@master
        with:
          action: 'test unit'