Skip to content

Commit cf4a87b

Browse files
committed
feat(tests): use inputs for integration testing versions
1 parent 03b1f9f commit cf4a87b

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/python-integration.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,21 @@ name: 'Integration Test'
55
on:
66
workflow_call:
77
inputs:
8+
POSTGRES_VERSIONS:
9+
default: "[ '13', '14', '15', '16', '17' ]"
10+
description: PostgreSQL Versions to test
11+
required: false
12+
type: string
813
PYTHON_VERSION:
914
default: '3.11'
1015
description: Python Version to use
1116
required: false
1217
type: string
18+
RABBITMQ_VERSIONS:
19+
default: "[ '3.12', '3.13', '4.0', '4.1' ]"
20+
description: PostgreSQL Versions to test
21+
required: false
22+
type: string
1323
secrets:
1424
WORKFLOW_TOKEN:
1525
description: "token to clone with"
@@ -24,8 +34,8 @@ jobs:
2434
strategy:
2535
max-parallel: 8
2636
matrix:
27-
postgres-version: [ '13', '14', '15', '16', '17' ]
28-
rabbitmq-version: [ '3.12', '3.13', '4.0', '4.1' ]
37+
postgres-version: ${{ fromJSON(inputs.POSTGRES_VERSIONS) }}
38+
rabbitmq-version: ${{ fromJSON(inputs.RABBITMQ_VERSIONS) }}
2939
continue-on-error: true
3040
steps:
3141

0 commit comments

Comments
 (0)