Skip to content

Commit 8a697c8

Browse files
committed
Pass python version as input
1 parent 2e87d61 commit 8a697c8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ jobs:
5858
uses: ./.github/workflows/platform-integration-test.yaml
5959
with:
6060
wheel: dist/otdf_python-0.1.10-py3-none-any.whl
61+
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)