Skip to content

Commit 72557e5

Browse files
authored
Only run Py39 and Py313 tests for PostCommit Arm (#36508)
1 parent 385271b commit 72557e5

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/beam_PostCommit_Python_Arm.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
name: PostCommit Python Arm
1919

2020
on:
21-
issue_comment:
22-
types: [created]
2321
schedule:
2422
- cron: '0 5/6 * * *'
2523
pull_request_target:
@@ -28,7 +26,7 @@ on:
2826

2927
# This allows a subsequently queued workflow run to interrupt previous runs
3028
concurrency:
31-
group: '${{ github.workflow }} @ ${{ github.event.issue.number || github.sha || github.head_ref || github.ref }}-${{ github.event.schedule || github.event.comment.id || github.event.sender.login }}'
29+
group: '${{ github.workflow }} @ ${{ github.event.issue.number || github.sha || github.head_ref || github.ref }}-${{ github.event.schedule || github.event.sender.login }}'
3230
cancel-in-progress: true
3331

3432
#Setting explicit permissions for the action to avoid the default permissions which are `write-all` in case of pull_request_target event
@@ -54,28 +52,27 @@ env:
5452

5553
jobs:
5654
beam_PostCommit_Python_Arm:
57-
name: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{ matrix.python_version }})
55+
name: ${{ matrix.job_name }} ${{ matrix.python_version }}
5856
runs-on: ubuntu-22.04
5957
timeout-minutes: 240
6058
strategy:
6159
fail-fast: false
6260
matrix:
6361
job_name: [beam_PostCommit_Python_Arm]
6462
job_phrase: [Run Python PostCommit Arm]
65-
python_version: ['3.9', '3.10', '3.11', '3.12', '3.13']
63+
python_version: ['3.9', '3.13']
6664
if: |
6765
github.event_name == 'workflow_dispatch' ||
6866
github.event_name == 'pull_request_target' ||
69-
(github.event_name == 'schedule' && github.repository == 'apache/beam') ||
70-
startsWith(github.event.comment.body, 'Run Python PostCommit Arm')
67+
(github.event_name == 'schedule' && github.repository == 'apache/beam')
7168
steps:
7269
- uses: actions/checkout@v4
7370
- name: Setup repository
7471
uses: ./.github/actions/setup-action
7572
with:
7673
comment_phrase: ${{ matrix.job_phrase }} ${{ matrix.python_version }}
7774
github_token: ${{ secrets.GITHUB_TOKEN }}
78-
github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{ matrix.python_version }})
75+
github_job: ${{ matrix.job_name }} ${{ matrix.python_version }}
7976
- name: Setup environment
8077
uses: ./.github/actions/setup-environment-action
8178
with:

0 commit comments

Comments
 (0)