30
30
31
31
test_linux_ray_master :
32
32
runs-on : ubuntu-latest
33
- timeout-minutes : 40
33
+ timeout-minutes : 100
34
34
strategy :
35
35
matrix :
36
36
python-version : [3.6.9, 3.7, 3.8]
@@ -60,15 +60,21 @@ jobs:
60
60
run : |
61
61
./lightgbm_ray/tests/env_info.sh
62
62
- name : Run tests
63
- run : |
64
- bash ./run_ci_tests.sh
63
+ uses : nick-invision/retry@v2
64
+ with :
65
+ timeout_minutes : 30
66
+ max_attempts : 3
67
+ command : bash ./run_ci_tests.sh
65
68
- name : Run examples
66
- run : |
67
- bash ./run_ci_examples.sh
69
+ uses : nick-invision/retry@v2
70
+ with :
71
+ timeout_minutes : 30
72
+ max_attempts : 3
73
+ command : bash ./run_ci_examples.sh
68
74
69
75
test_linux_ray_release :
70
76
runs-on : ubuntu-latest
71
- timeout-minutes : 40
77
+ timeout-minutes : 100
72
78
strategy :
73
79
matrix :
74
80
python-version : [3.6.9, 3.7, 3.8]
@@ -91,17 +97,23 @@ jobs:
91
97
run : |
92
98
./lightgbm_ray/tests/env_info.sh
93
99
- name : Run tests
94
- run : |
95
- bash ./run_ci_tests.sh
100
+ uses : nick-invision/retry@v2
101
+ with :
102
+ timeout_minutes : 30
103
+ max_attempts : 3
104
+ command : bash ./run_ci_tests.sh
96
105
- name : Run examples
97
- run : |
98
- bash ./run_ci_examples.sh
106
+ uses : nick-invision/retry@v2
107
+ with :
108
+ timeout_minutes : 30
109
+ max_attempts : 3
110
+ command : bash ./run_ci_examples.sh
99
111
100
112
test_linux_compat :
101
113
# Test compatibility when some optional libraries are missing
102
114
# Test runs on latest ray release
103
115
runs-on : ubuntu-latest
104
- timeout-minutes : 40
116
+ timeout-minutes : 100
105
117
strategy :
106
118
matrix :
107
119
python-version : [3.6.9, 3.7, 3.8]
@@ -129,16 +141,22 @@ jobs:
129
141
run : |
130
142
./lightgbm_ray/tests/env_info.sh
131
143
- name : Run tests
132
- run : |
133
- bash ./run_ci_tests.sh --no-tune
144
+ uses : nick-invision/retry@v2
145
+ with :
146
+ timeout_minutes : 30
147
+ max_attempts : 3
148
+ command : bash ./run_ci_tests.sh --no-tune
134
149
- name : Run examples
135
- run : |
136
- bash ./run_ci_examples.sh --no-tune
150
+ uses : nick-invision/retry@v2
151
+ with :
152
+ timeout_minutes : 30
153
+ max_attempts : 3
154
+ command : bash ./run_ci_examples.sh --no-tune
137
155
138
156
test_linux_cutting_edge :
139
157
# Tests on cutting edge, i.e. latest Ray master, latest LightGBM master
140
158
runs-on : ubuntu-latest
141
- timeout-minutes : 40
159
+ timeout-minutes : 100
142
160
strategy :
143
161
matrix :
144
162
python-version : [3.6.9, 3.7, 3.8]
@@ -185,8 +203,14 @@ jobs:
185
203
run : |
186
204
./lightgbm_ray/tests/env_info.sh
187
205
- name : Run tests
188
- run : |
189
- bash ./run_ci_tests.sh
206
+ uses : nick-invision/retry@v2
207
+ with :
208
+ timeout_minutes : 30
209
+ max_attempts : 3
210
+ command : bash ./run_ci_tests.sh
190
211
- name : Run examples
191
- run : |
192
- bash ./run_ci_examples.sh
212
+ uses : nick-invision/retry@v2
213
+ with :
214
+ timeout_minutes : 30
215
+ max_attempts : 3
216
+ command : bash ./run_ci_examples.sh
0 commit comments