Skip to content

Commit ce46e2d

Browse files
committed
Fix Python workflows
1 parent 9516397 commit ce46e2d

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

.github/workflows/beam_PostCommit_PortableJar_Flink.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
CLOUDSDK_CONFIG: ${{ env.KUBELET_GCLOUD_CONFIG_PATH}}
8080
uses: ./.github/actions/gradle-command-self-hosted-action
8181
with:
82-
gradle-command: :sdks:python:test-suites:portable:310:testPipelineJarFlinkRunner
82+
gradle-command: :sdks:python:test-suites:portable:py310:testPipelineJarFlinkRunner
8383
arguments: |
8484
-PpythonVersion=3.10 \
8585
- name: Archive Python Test Results
@@ -95,4 +95,4 @@ jobs:
9595
commit: '${{ env.prsha || env.GITHUB_SHA }}'
9696
comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }}
9797
files: '**/pytest*.xml'
98-
large_files: true
98+
large_files: true

.github/workflows/beam_PostCommit_Python_Arm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
matrix:
6161
job_name: [beam_PostCommit_Python_Arm]
6262
job_phrase: [Run Python PostCommit Arm]
63-
python_version: ['10', '3.13']
63+
python_version: ['3.10', '3.13']
6464
if: |
6565
github.event_name == 'workflow_dispatch' ||
6666
github.event_name == 'pull_request_target' ||
@@ -129,4 +129,4 @@ jobs:
129129
commit: '${{ env.prsha || env.GITHUB_SHA }}'
130130
comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }}
131131
files: '**/pytest*.xml'
132-
large_files: true
132+
large_files: true

sdks/python/test-suites/tox/py310/build.gradle

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ project.tasks.register("postCommitPyDep") {}
4949
// For versions that we would like to prioritize for testing,
5050
// for example versions released in a timeframe of last 1-2 years.
5151

52-
toxTask "testPy310pyarrow-3", "py310-pyarrow-3", "${posargs}"
53-
test.dependsOn "testPy310pyarrow-3"
54-
postCommitPyDep.dependsOn "testPy310pyarrow-3"
52+
toxTask "testPy310pyarrow-7", "py310-pyarrow-7", "${posargs}"
53+
test.dependsOn "testPy310pyarrow-7"
54+
postCommitPyDep.dependsOn "testPy310pyarrow-7"
5555

5656
toxTask "testPy310pyarrow-9", "py310-pyarrow-9", "${posargs}"
5757
test.dependsOn "testPy310pyarrow-9"
@@ -121,13 +121,6 @@ postCommitPyDep.dependsOn "testPy310pandas-20"
121121
// TODO(https://github.com/apache/beam/issues/30908): Revise what are we testing
122122

123123
// Create a test task for each minor version of pytorch
124-
toxTask "testPy310pytorch-19", "py310-pytorch-19", "${posargs}"
125-
test.dependsOn "testPy310pytorch-19"
126-
postCommitPyDep.dependsOn "testPy310pytorch-19"
127-
128-
toxTask "testPy310pytorch-110", "py310-pytorch-110", "${posargs}"
129-
test.dependsOn "testPy310pytorch-110"
130-
postCommitPyDep.dependsOn "testPy310pytorch-110"
131124

132125
toxTask "testPy310pytorch-111", "py310-pytorch-111", "${posargs}"
133126
test.dependsOn "testPy310pytorch-111"

0 commit comments

Comments
 (0)