@@ -65,6 +65,9 @@ commands:
65
65
default : false
66
66
grep :
67
67
type : string
68
+ branchSpecificTest :
69
+ type : boolean
70
+ default : false
68
71
steps :
69
72
- checkout-with-deps
70
73
- run :
@@ -77,6 +80,7 @@ commands:
77
80
echo 'export PRODUCTION_BUILD=<< parameters.productionBuild >>' >> $BASH_ENV
78
81
echo 'export GREP="<< parameters.grep >>"' >> $BASH_ENV
79
82
echo 'export COMPARE_BRANCH="v5-candidate"' >> $BASH_ENV
83
+ echo 'export BRANCH_SPECIFIC_TEST=<< parameters.branchSpecificTest >>' >> $BASH_ENV
80
84
- run :
81
85
command : scripts/run-graphics-tests.sh
82
86
no_output_timeout : 20m
@@ -206,12 +210,16 @@ jobs:
206
210
productionBuild :
207
211
type : boolean
208
212
default : false
213
+ branchSpecificTest :
214
+ type : boolean
215
+ default : false
209
216
executor : node-browsers-executor
210
217
steps :
211
218
- run-graphics-tests :
212
219
devicePixelRatio : << parameters.dpr >>
213
220
grep : << parameters.grep >>
214
221
productionBuild : << parameters.productionBuild >>
222
+ branchSpecificTest : << parameters.branchSpecificTest >>
215
223
216
224
memleaks-tests :
217
225
executor : node-browsers-executor
@@ -318,6 +326,30 @@ anchors:
318
326
workflows :
319
327
version : 2
320
328
329
+ branch-specific-graphics-tests :
330
+ when :
331
+ and :
332
+ - equal : [ manual-trigger, << pipeline.trigger_source >> ]
333
+ jobs :
334
+ - graphics-tests :
335
+ name : graphics-tests-part1-dpr<< matrix.dpr >><<# matrix.productionBuild >>-PROD<</ matrix.productionBuild >>
336
+ grep : " (api/|applying-options/|series-markers/|price-scale/)"
337
+ branchSpecificTest : true
338
+ matrix : *graphics-test-matrix
339
+ << : *graphics-test-config
340
+ - graphics-tests :
341
+ name : graphics-tests-part2-dpr<< matrix.dpr >><<# matrix.productionBuild >>-PROD<</ matrix.productionBuild >>
342
+ grep : " (initial-options/|logical-range/|panes/|plugins/|two-scales/|test-cases/)"
343
+ branchSpecificTest : true
344
+ matrix : *graphics-test-matrix
345
+ << : *graphics-test-config
346
+ - graphics-tests :
347
+ name : graphics-tests-part3-dpr<< matrix.dpr >><<# matrix.productionBuild >>-PROD<</ matrix.productionBuild >>
348
+ grep : " (series/|time-scale/|degenerative-horizontal-series-with-integer-min-tick/)"
349
+ branchSpecificTest : true
350
+ matrix : *graphics-test-matrix
351
+ << : *graphics-test-config
352
+
321
353
build-lint-test :
322
354
jobs :
323
355
- install-deps :
0 commit comments