Skip to content

Commit 4158a08

Browse files
committed
Pass python version as input
1 parent 2e87d61 commit 4158a08

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/build-golang-ubuntu.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,12 @@ jobs:
5454
${{ runner.os }}-data-
5555
5656
integration-test:
57+
strategy:
58+
fail-fast: true
59+
matrix:
60+
python3_version: [11, 12]
5761
needs: build
5862
uses: ./.github/workflows/platform-integration-test.yaml
5963
with:
6064
wheel: dist/otdf_python-0.1.10-py3-none-any.whl
65+
python_version: "3.${{ matrix.python3_version }}"

.github/workflows/platform-integration-test.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
description: The Python wheel to test
1313
required: true
1414
type: string
15+
python_version:
16+
description: The wheel's Python version (like "3.12" or "3.13")
17+
required: true
18+
type: string
1519

1620
permissions:
1721
contents: read
@@ -112,7 +116,7 @@ jobs:
112116
- name: Set up Python
113117
uses: actions/setup-python@v4
114118
with:
115-
python-version: '3.12'
119+
python-version: '${{ inputs.python_version }}'
116120

117121
- name: Validate the Python SDK
118122
env:

0 commit comments

Comments
 (0)