Skip to content

Commit bda8409

Browse files
authored
[FLINK-37523][CI] Fix Python test/e2e tests missing libpython/python headers (#26509)
1 parent 3e2a0a4 commit bda8409

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/template.flink-ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,12 @@ jobs:
209209
source_directory: ${{ env.MOUNTED_WORKING_DIR }}
210210
target_directory: ${{ env.CONTAINER_LOCAL_WORKING_DIR }}
211211

212+
- name: "Setup python"
213+
if: matrix.module == 'python'
214+
uses: actions/setup-python@v5
215+
with:
216+
python-version: '3.11'
217+
212218
- name: "Set coredump pattern"
213219
working-directory: ${{ env.CONTAINER_LOCAL_WORKING_DIR }}
214220
run: sudo sysctl -w kernel.core_pattern=core.%p
@@ -315,6 +321,11 @@ jobs:
315321
jdk_version: ${{ inputs.jdk_version }}
316322
maven_repo_folder: ${{ env.MAVEN_REPO_FOLDER }}
317323

324+
- name: "Setup python"
325+
uses: actions/setup-python@v5
326+
with:
327+
python-version: '3.11'
328+
318329
- name: "Install missing packages"
319330
run: sudo apt-get install -y net-tools docker zip
320331

0 commit comments

Comments
 (0)