diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml new file mode 100644 index 00000000..5d2000da --- /dev/null +++ b/.github/workflows/integration_test.yml @@ -0,0 +1,28 @@ +name: Integration Test +on: [push, pull_request] +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.18 + + - name: Check out source + uses: actions/checkout@v4 + + - name: Build + run: | + go get -t ./... + make + + - name: Prep test dependencies + run: | + go get github.com/jmespath/jp && go build github.com/jmespath/jp + pip install --user zschema + + - name: Run tests + run: | + make integration-test