diff --git a/.github/workflows/integration-testing.yml b/.github/workflows/integration-testing.yml new file mode 100644 index 00000000000..a2d09bcc8d0 --- /dev/null +++ b/.github/workflows/integration-testing.yml @@ -0,0 +1,22 @@ +name: Integration Testing +on: + pull_request: + types: [opened, synchronize, ready_for_review] +jobs: + contract: + name: test build against kit + if: github.event.pull_request.draft == false + runs-on: ubuntu-latest + timeout-minutes: 45 + services: + postgres: + image: postgres:17 + env: { POSTGRES_USER: postgres, POSTGRES_PASSWORD: postgres } + ports: ["5432:5432"] + options: --health-cmd "pg_isready -U postgres" --health-interval 5s --health-retries 20 + steps: + - uses: actions/checkout@v6 + - uses: OpenFn/kit-lightning-integration@v1 + with: + lightning: ${{ github.workspace }} + worker: latest