Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/integration-testing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Integration Testing
Comment thread
josephjclark marked this conversation as resolved.
on:
pull_request:
types: [opened, synchronize]
jobs:
contract:
name: test build against lightning
runs-on: ubuntu-latest
timeout-minutes: 45
services:
postgres:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we not default all this stuff? Does it really need to be declared in the action?

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
Loading