Skip to content

Commit 0c2a4b0

Browse files
committed
browser param
1 parent d2f454e commit 0c2a4b0

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.circleci/config.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ parameters:
2828
type: enum
2929
enum: ["small", "medium", "medium+", "large", "xlarge", "2xlarge"]
3030
default: "xlarge"
31+
browsers:
32+
type: [string]
33+
default: ["chrome", "firefox"]
3134

3235
orbs:
3336
browser-tools: circleci/[email protected]
@@ -1008,7 +1011,7 @@ workflows:
10081011
- build
10091012
matrix:
10101013
parameters:
1011-
browser: ["chrome"]
1014+
browser: << pipeline.parameters.browsers >>
10121015
script: ["singletest.sh"]
10131016
job: ["nogroup"]
10141017
jobsize: ["1"]
@@ -1028,7 +1031,7 @@ workflows:
10281031
- build
10291032
matrix:
10301033
parameters:
1031-
browser: ["chrome"]
1034+
browser: << pipeline.parameters.browsers >>
10321035
script: ["singletest.sh"]
10331036
job: ["nogroup"]
10341037
jobsize: ["1"]
@@ -1048,7 +1051,7 @@ workflows:
10481051
- build
10491052
matrix:
10501053
parameters:
1051-
browser: ["chrome", "firefox"]
1054+
browser: << pipeline.parameters.browsers >>
10521055
script: ["singletest.sh"]
10531056
job: ["nogroup"]
10541057
jobsize: ["1"]
@@ -1101,7 +1104,7 @@ workflows:
11011104
matrix:
11021105
alias: browser-tests
11031106
parameters:
1104-
browser: ["chrome", "firefox"]
1107+
browser: << pipeline.parameters.browsers >>
11051108
script: ["browser_test.sh"]
11061109
job: ["0","1","2","3","4","5","6","7","8","9"]
11071110
jobsize: ["10"]

0 commit comments

Comments
 (0)