Skip to content

AB-449 PostgreSQL Operator: Release workflow + PostgreSQL 15 to 18 Test Matrix #70

AB-449 PostgreSQL Operator: Release workflow + PostgreSQL 15 to 18 Test Matrix

AB-449 PostgreSQL Operator: Release workflow + PostgreSQL 15 to 18 Test Matrix #70

Workflow file for this run

name: Test
on:
pull_request:
types: [ opened, reopened, synchronize ]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Tests (PostgreSQL ${{ matrix.postgres-version }})
runs-on: ubuntu-24.04
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
postgres-version: [ 15, 16, 17, 18 ]
steps:
- uses: actions/checkout@v5
with:
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
- uses: aboutbits/github-actions-java/setup-with-gradle@v4
with:
java-version: 25
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- name: Build & Test
run: >-
./gradlew
--console=colored
:operator:test
--fail-fast
-Dquarkus.test.profile=test-pg${{ matrix.postgres-version }}
env:
GITHUB_USER_NAME: ${{ github.actor }}
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}