diff --git a/.github/workflows/integration-testing.yaml b/.github/workflows/integration-testing.yaml new file mode 100644 index 000000000..275f525f2 --- /dev/null +++ b/.github/workflows/integration-testing.yaml @@ -0,0 +1,21 @@ +name: Integration Testing +on: + pull_request: + types: [opened, synchronize] +jobs: + contract: + name: test build against lightning + 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: + worker: ${{ github.workspace }} + lightning: main