Integration Test #189
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration Test | |
on: | |
schedule: | |
- cron: '0 1 * * *' # run at 1 AM UTC | |
# Allow to trigger the integration tests manually | |
workflow_dispatch: | |
jobs: | |
integration-test: | |
if: ${{ github.repository == 'warpstreamlabs/bento' || github.event_name != 'schedule' }} | |
runs-on: ubuntu-latest | |
env: | |
CGO_ENABLED: 0 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.x | |
check-latest: true | |
- name: Deps | |
run: make deps && git diff-index --quiet HEAD || { >&2 echo "Stale go.{mod,sum} detected. This can be fixed with 'make deps'."; exit 1; } | |
- name: Integration Test | |
run: go test -run "^Test.*Integration$" -timeout 60m ./... |