Skip to content

Commit f9de00b

Browse files
.github: triggegr post commtis python sdk
1 parent e1bba8c commit f9de00b

10 files changed

Lines changed: 20 additions & 27 deletions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"comment": "Modify this file in a trivial way to cause this test suite to run.",
3-
"modification": 33
3+
"modification": 35
44
}
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"comment": "Modify this file in a trivial way to cause this test suite to run",
3-
"modification": 33
3+
"modification": 35
44
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"comment": "Modify this file in a trivial way to cause this test suite to run",
3-
"modification": 33
3+
"modification": 35
44
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"comment": "Modify this file in a trivial way to cause this test suite to run",
3-
"modification": 33
3+
"modification": 35
44
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"comment": "Modify this file in a trivial way to cause this test suite to run",
3-
"modification": 33
3+
"modification": 35
44
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"comment": "Modify this file in a trivial way to cause this test suite to run",
3-
"modification": 33
3+
"modification": 35
44
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"comment": "Modify this file in a trivial way to cause this test suite to run",
3-
"modification": 33
3+
"modification": 35
44
}

.github/workflows/beam_PostCommit_Python_Auto.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ name: PostCommit Python Auto
2020
on:
2121
schedule:
2222
- cron: '30 5/6 * * *'
23+
push:
24+
branches: ['master', 'release-*']
25+
tags: 'v*'
2326
pull_request:
24-
branches: ['master']
27+
branches: ['master', 'release-*']
28+
tags: 'v*'
2529
workflow_dispatch:
2630

2731
# This allows a subsequently queued workflow run to interrupt previous runs
@@ -52,7 +56,7 @@ env:
5256
ALLOYDB_PASSWORD: ${{ secrets.ALLOYDB_PASSWORD }}
5357

5458
jobs:
55-
beam_PostCommit_Python:
59+
beam_PostCommit_Python_Auto:
5660
name: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{ matrix.python_version }})
5761
runs-on:
5862
- [self-hosted, ubuntu-20.04, highmem22]
@@ -61,14 +65,9 @@ jobs:
6165
strategy:
6266
fail-fast: false
6367
matrix:
64-
job_name: [beam_PostCommit_Python]
68+
job_name: [beam_PostCommit_Python_Auto]
6569
job_phrase: [Run Python PostCommit]
6670
python_version: ['3.9', '3.10', '3.11', '3.12']
67-
if: |
68-
github.event_name == 'workflow_dispatch' ||
69-
github.event_name == 'pull_request_target' ||
70-
(github.event_name == 'schedule' && github.repository == 'apache/beam') ||
71-
startswith(github.event.comment.body, 'Run Python PostCommit 3.')
7271
steps:
7372
- uses: actions/checkout@v4
7473
- name: Setup repository

.github/workflows/beam_PreCommit_Python_ML.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ env:
5656
ALLOYDB_PASSWORD: ${{ secrets.ALLOYDB_PASSWORD }}
5757

5858
jobs:
59-
beam_PreCommit_Python_ML:
59+
beam_PreCommit_Python_ML_Auto:
6060
name: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{ matrix.python_version }})
6161
runs-on:
6262
- [self-hosted, ubuntu-20.04, main]
@@ -65,7 +65,7 @@ jobs:
6565
strategy:
6666
fail-fast: false
6767
matrix:
68-
job_name: ['beam_PreCommit_Python_ML']
68+
job_name: ['beam_PreCommit_Python_ML_Auto']
6969
job_phrase: ['Run Python_ML PreCommit']
7070
python_version: ['3.9','3.10','3.11','3.12']
7171
if: |

.github/workflows/beam_PreCommit_Python_ML_Auto.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515

1616
name: PreCommit Python ML tests with ML deps installed Auto
1717
on:
18-
pull_request:
19-
branches: [ "master", "release-*" ]
2018
issue_comment:
2119
types: [created]
2220
push:
23-
tags: ['v*']
2421
branches: ['master', 'release-*']
25-
paths: [ "model/**","sdks/python/**","release/**",".github/workflows/beam_PreCommit_Python_ML.yml"]
22+
tags: 'v*'
23+
pull_request:
24+
branches: ['master', 'release-*']
25+
tags: 'v*'
2626
schedule:
2727
- cron: '45 2/6 * * *'
2828
workflow_dispatch:
@@ -67,12 +67,6 @@ jobs:
6767
job_name: ['beam_PreCommit_Python_ML']
6868
job_phrase: ['Run Python_ML PreCommit']
6969
python_version: ['3.9','3.10','3.11','3.12']
70-
if: |
71-
github.event_name == 'push' ||
72-
github.event_name == 'pull_request_target' ||
73-
(github.event_name == 'schedule' && github.repository == 'apache/beam') ||
74-
github.event_name == 'workflow_dispatch' ||
75-
startsWith(github.event.comment.body, 'Run Python_ML PreCommit')
7670
steps:
7771
- uses: actions/checkout@v4
7872
- name: Setup repository

0 commit comments

Comments
 (0)