Skip to content

Commit f4cda4a

Browse files
committed
update
1 parent 8fbcb83 commit f4cda4a

5 files changed

Lines changed: 7 additions & 192 deletions

.github/workflows/beam_PostCommit_Python.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,15 @@ env:
5454
jobs:
5555
beam_PostCommit_Python:
5656
name: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{ matrix.python_version }})
57-
runs-on:
58-
- [self-hosted, ubuntu-20.04, highmem22]
59-
- ubuntu-latest
57+
runs-on: ${{ matrix.os }}
6058
timeout-minutes: 240
6159
strategy:
6260
fail-fast: false
6361
matrix:
6462
job_name: [beam_PostCommit_Python]
6563
job_phrase: [Run Python PostCommit]
6664
python_version: ['3.9', '3.10', '3.11', '3.12']
65+
os: [[self-hosted, ubuntu-20.04, highmem22], ubuntu-latest]
6766
if: |
6867
github.event_name == 'workflow_dispatch' ||
6968
github.event_name == 'pull_request_target' ||
@@ -103,7 +102,7 @@ jobs:
103102
-PuseWheelDistribution \
104103
# Conditionally add -Pposargs based on the runner type.
105104
-Pposargs="${{
106-
contains(matrix.runner_os, 'self-hosted') &&
105+
matrix.os == 'self-hosted' &&
107106
'-m ''not require_non_self_hosted''' ||
108107
'-m ''require_non_self_hosted'''
109108
}}" \

.github/workflows/beam_PostCommit_Python_Auto.yml

Lines changed: 0 additions & 98 deletions
This file was deleted.

.github/workflows/beam_PostCommit_Python_Xlang_Gcp_Direct.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,4 @@ jobs:
9898
commit: '${{ env.prsha || env.GITHUB_SHA }}'
9999
comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }}
100100
files: '**/pytest*.xml'
101-
large_files: true
101+
large_files: true

.github/workflows/beam_PreCommit_Python_ML.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,15 @@ env:
5858
jobs:
5959
beam_PreCommit_Python_ML:
6060
name: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{ matrix.python_version }})
61-
runs-on:
62-
- [self-hosted, ubuntu-20.04, main]
63-
- ubuntu-latest
61+
runs-on: ${{ matrix.os }}
6462
timeout-minutes: 180
6563
strategy:
6664
fail-fast: false
6765
matrix:
6866
job_name: ['beam_PreCommit_Python_ML']
6967
job_phrase: ['Run Python_ML PreCommit']
7068
python_version: ['3.9','3.10','3.11','3.12']
69+
os: [[self-hosted, ubuntu-20.04, main], ubuntu-latest]
7170
if: |
7271
github.event_name == 'push' ||
7372
github.event_name == 'pull_request_target' ||
@@ -100,7 +99,7 @@ jobs:
10099
arguments: |
101100
# Conditionally add -Pposargs based on the runner type.
102101
-Pposargs="${{
103-
contains(matrix.runner_os, 'self-hosted') &&
102+
matrix.os == 'self-hosted' &&
104103
'-m ''not require_non_self_hosted''' ||
105104
'-m ''require_non_self_hosted'''
106105
}}" \

.github/workflows/beam_PreCommit_Python_ML_Auto.yml

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)