feat: Add SQL schema discovery library for PostgreSQL #7932
Workflow file for this run
This file contains hidden or 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: operator-pr | |
| on: [pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| operator-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.25.0 | |
| - name: Operator tests | |
| run: make -C infra/feast-operator test | |
| - name: After code formatting, check for uncommitted differences | |
| run: git diff --exit-code infra/feast-operator | |
| - name: Regenerate bundle and verify CSV is in sync | |
| run: make -C infra/feast-operator bundle | |
| - name: Check for uncommitted bundle differences | |
| run: | | |
| # createdAt and operator-sdk builder version change every run; | |
| # ignore them so only real RBAC / structural drift fails the check. | |
| if ! git diff --exit-code \ | |
| -I 'createdAt:' \ | |
| -I 'operator-sdk-v' \ | |
| infra/feast-operator/bundle/ infra/feast-operator/bundle.Dockerfile; then | |
| echo "::error::Bundle manifests are out of sync. Run 'make bundle' in infra/feast-operator/ and commit the result." | |
| exit 1 | |
| fi |