Skip to content

Commit 73a5c05

Browse files
TroyGardenfacebook-github-bot
authored andcommitted
run main and nightly in workflow setup (#3374)
Summary: Pull Request resolved: #3374 # context * it seems that any release branch push will trigger cpu CI * but (gpu) CI can't be trigger manually from github * the release process usually involves quite a few release push and the CI is better to handle manually. Reviewed By: jd7-tr Differential Revision: D82322377 fbshipit-source-id: 64dbc0a29c1aff372e15d750b0d9b779a580608e
1 parent 2322b93 commit 73a5c05

File tree

4 files changed

+25
-1
lines changed

4 files changed

+25
-1
lines changed

.github/workflows/cpp_unittest_ci_cpu.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ name: CPU Unit Test C++ CI
55

66
on:
77
push:
8+
branches:
9+
# only run tests on main branch & nightly; release should be triggered manually
10+
- nightly
11+
- main
12+
tags:
13+
# Release candidate tags look like: v1.11.0-rc1
14+
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
815
paths-ignore:
916
- "docs/*"
1017
- "third_party/*"

.github/workflows/pre-commit.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@ name: pre-commit
22

33
on:
44
push:
5-
branches: [main]
5+
branches:
6+
# only run tests on main branch & nightly; release should be triggered manually
7+
- nightly
8+
- main
9+
tags:
10+
# Release candidate tags look like: v1.11.0-rc1
11+
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
612
pull_request:
713

814
jobs:

.github/workflows/unittest_ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ name: Unit Test CI
66
on:
77
push:
88
branches:
9+
# only run tests on main branch & nightly; release should be triggered manually
910
- nightly
1011
- main
12+
tags:
13+
# Release candidate tags look like: v1.11.0-rc1
14+
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
1115
paths-ignore:
1216
- "docs/*"
1317
- "third_party/*"

.github/workflows/unittest_ci_cpu.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ name: CPU Unit Test CI
55

66
on:
77
push:
8+
branches:
9+
# only run tests on main branch & nightly; release should be triggered manually
10+
- nightly
11+
- main
12+
tags:
13+
# Release candidate tags look like: v1.11.0-rc1
14+
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
815
paths-ignore:
916
- "docs/*"
1017
- "third_party/*"

0 commit comments

Comments
 (0)