Skip to content

Commit 27b0b57

Browse files
committed
adjust the GitHub test workflow to use a test matrix for PostgreSQL versions 15 to 18
1 parent 4984200 commit 27b0b57

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ on:
55

66
jobs:
77
test:
8-
name: Tests
8+
name: Tests (PostgreSQL ${{ matrix.postgres-version }})
99
runs-on: ubuntu-24.04
1010
timeout-minutes: 5
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
postgres-version: [ 15, 16, 17, 18 ]
1115
steps:
1216
- uses: actions/checkout@v5
1317
- uses: aboutbits/github-actions-java/setup-with-gradle@v4
@@ -20,6 +24,7 @@ jobs:
2024
--console=colored
2125
:operator:test
2226
--fail-fast
27+
-Dquarkus.test.profile=test-pg${{ matrix.postgres-version }}
2328
env:
2429
GITHUB_USER_NAME: ${{ github.actor }}
2530
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)