Skip to content

Commit 40944e6

Browse files
authored
schedule actions to run at least 3 times a week (#5369)
1 parent 21c9a63 commit 40944e6

File tree

6 files changed

+30
-12
lines changed

6 files changed

+30
-12
lines changed

.github/workflows/1-unit.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@
1818
name: Unit Tests
1919

2020
on:
21-
# build on push
2221
push:
23-
# build on pull requests
22+
branches: [ master ]
2423
pull_request:
24+
branches: [ master ]
25+
types: [ opened, synchronize, reopened ]
26+
schedule:
27+
- cron: '30 1 * * 1,3,5'
2528

2629
env:
2730
# openwhisk env

.github/workflows/2-system.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@
1818
name: System Tests
1919

2020
on:
21-
# build on push
2221
push:
23-
# build on pull requests
22+
branches: [ master ]
2423
pull_request:
24+
branches: [ master ]
25+
types: [ opened, synchronize, reopened ]
26+
schedule:
27+
- cron: '30 2 * * 1,3,5'
2528

2629
env:
2730
# openwhisk env

.github/workflows/3-multi-runtime.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@
1818
name: MultiRuntime Tests
1919

2020
on:
21-
# build on push
2221
push:
23-
# build on pull requests
22+
branches: [ master ]
2423
pull_request:
24+
branches: [ master ]
25+
types: [ opened, synchronize, reopened ]
26+
schedule:
27+
- cron: '30 3 * * 1,3,5'
2528

2629
env:
2730
# openwhisk env

.github/workflows/4-standalone.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@
1818
name: Standalone Tests
1919

2020
on:
21-
# build on push
2221
push:
23-
# build on pull requests
22+
branches: [ master ]
2423
pull_request:
24+
branches: [ master ]
25+
types: [ opened, synchronize, reopened ]
26+
schedule:
27+
- cron: '30 4 * * 1,3,5'
2528

2629
env:
2730
# openwhisk env

.github/workflows/5-scheduler.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@
1818
name: Scheduler Tests
1919

2020
on:
21-
# build on push
2221
push:
23-
# build on pull requests
22+
branches: [ master ]
2423
pull_request:
24+
branches: [ master ]
25+
types: [ opened, synchronize, reopened ]
26+
schedule:
27+
- cron: '30 5 * * 1,3,5'
2528

2629
env:
2730
# openwhisk env

.github/workflows/6-performance.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@
1818
name: Performance Tests
1919

2020
on:
21-
# build on push
2221
push:
23-
# build on pull requests
22+
branches: [ master ]
2423
pull_request:
24+
branches: [ master ]
25+
types: [ opened, synchronize, reopened ]
26+
schedule:
27+
- cron: '30 6 * * 1,3,5'
2528

2629
env:
2730
# openwhisk env

0 commit comments

Comments
 (0)