File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : Run tests
2
2
3
3
on :
4
- pull_request_target :
4
+ pull_request :
5
5
types : [opened, reopened, synchronize, labeled]
6
- branches :
7
- - master
8
6
9
7
schedule :
10
8
- cron : ' 0 2 * * *'
11
9
10
+ push :
11
+ branches :
12
+ - master
13
+
12
14
env :
13
15
MAX_CHUNKS : 15
14
16
WOKWI_TIMEOUT : 120000 # Milliseconds
@@ -19,9 +21,7 @@ concurrency:
19
21
20
22
jobs :
21
23
gen_chunks :
22
- if : |
23
- github.repository == 'espressif/arduino-esp32' &&
24
- ( contains(github.event.pull_request.labels.*.name, 'run_tests') || github.event_name == 'schedule' )
24
+ if : github.repository == 'espressif/arduino-esp32'
25
25
name : Generate Chunks matrix
26
26
runs-on : ubuntu-latest
27
27
outputs :
75
75
wokwi-test :
76
76
needs : [gen_chunks, build]
77
77
name : ${{matrix.chip}}-Wokwi_Test#${{matrix.chunks}}
78
+ if : |
79
+ github.event_name == 'schedule' || github.event_name == 'push'
78
80
strategy :
79
81
fail-fast : false
80
82
matrix :
@@ -173,4 +175,3 @@ jobs:
173
175
with :
174
176
name : Event File
175
177
path : ${{github.event_path}}
176
-
You can’t perform that action at this time.
0 commit comments