File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,42 @@ pipeline:
195
195
when :
196
196
event : [ push, tag, pull_request ]
197
197
198
+ bench-sqlite :
199
+ image : golang:1.11
200
+ pull : true
201
+ group : bench
202
+ commands :
203
+ - make bench-sqlite
204
+ when :
205
+ event : [ tag ]
206
+
207
+ bench-mysql :
208
+ image : golang:1.11
209
+ pull : true
210
+ group : bench
211
+ commands :
212
+ - make bench-mysql
213
+ when :
214
+ event : [ tag ]
215
+
216
+ bench-mssql :
217
+ image : golang:1.11
218
+ pull : true
219
+ group : bench
220
+ commands :
221
+ - make bench-mssql
222
+ when :
223
+ event : [ tag ]
224
+
225
+ bench-pgsql :
226
+ image : golang:1.11
227
+ pull : true
228
+ group : bench
229
+ commands :
230
+ - make bench-pgsql
231
+ when :
232
+ event : [ tag ]
233
+
198
234
generate-coverage :
199
235
image : golang:1.11
200
236
pull : true
Original file line number Diff line number Diff line change @@ -252,6 +252,10 @@ bench-sqlite: integrations.sqlite.test
252
252
bench-mysql : integrations.test generate-ini
253
253
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql.ini ./integrations.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
254
254
255
+ .PHONY : bench-mssql
256
+ bench-mssql : integrations.test generate-ini
257
+ GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mssql.ini ./integrations.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
258
+
255
259
.PHONY : bench-pgsql
256
260
bench-pgsql : integrations.test generate-ini
257
261
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./integrations.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
You can’t perform that action at this time.
0 commit comments