1
- version : 2
1
+ version : 2.1
2
2
3
3
aliases :
4
4
- &docker
@@ -104,6 +104,21 @@ jobs:
104
104
- *restore_node_modules
105
105
- run : node ./scripts/tasks/flow-ci
106
106
107
+ yarn_test_build_combined :
108
+ docker : *docker
109
+ environment : *environment
110
+ parallelism : *TEST_PARALLELISM
111
+ parameters :
112
+ args :
113
+ type : string
114
+ steps :
115
+ - checkout
116
+ - attach_workspace :
117
+ at : build2
118
+ - run : yarn workspaces info | head -n -1 > workspace_info.txt
119
+ - *restore_node_modules
120
+ - run : yarn test --build <<parameters.args>> --ci
121
+
107
122
yarn_test-stable :
108
123
docker : *docker
109
124
environment : *environment
@@ -477,16 +492,6 @@ jobs:
477
492
- *restore_node_modules
478
493
- run : yarn test --build --ci
479
494
480
- yarn_test_build_devtools :
481
- docker : *docker
482
- environment : *environment
483
- steps :
484
- - checkout
485
- - attach_workspace : *attach_workspace
486
- - run : yarn workspaces info | head -n -1 > workspace_info.txt
487
- - *restore_node_modules
488
- - run : yarn test --project=devtools --build --ci
489
-
490
495
RELEASE_CHANNEL_stable_yarn_test_dom_fixtures :
491
496
docker : *docker
492
497
environment : *environment
@@ -584,12 +589,6 @@ workflows:
584
589
- RELEASE_CHANNEL_stable_yarn_lint_build :
585
590
requires :
586
591
- RELEASE_CHANNEL_stable_yarn_build
587
- - yarn_test-stable_build :
588
- requires :
589
- - RELEASE_CHANNEL_stable_yarn_build
590
- - yarn_test-stable_build_prod :
591
- requires :
592
- - RELEASE_CHANNEL_stable_yarn_build
593
592
- RELEASE_CHANNEL_stable_yarn_test_dom_fixtures :
594
593
requires :
595
594
- RELEASE_CHANNEL_stable_yarn_build
@@ -624,18 +623,9 @@ workflows:
624
623
- sizebot_experimental :
625
624
requires :
626
625
- yarn_build
627
- - yarn_test_build :
628
- requires :
629
- - yarn_build
630
- - yarn_test_build_prod :
631
- requires :
632
- - yarn_build
633
626
- yarn_lint_build :
634
627
requires :
635
628
- yarn_build
636
- - yarn_test_build_devtools :
637
- requires :
638
- - yarn_build
639
629
- build_devtools_and_process_artifacts :
640
630
requires :
641
631
- yarn_build
@@ -660,6 +650,32 @@ workflows:
660
650
- process_artifacts_combined :
661
651
requires :
662
652
- yarn_build_combined
653
+ - yarn_test_build_combined :
654
+ requires :
655
+ - yarn_build_combined
656
+ matrix :
657
+ parameters :
658
+ args :
659
+ # Intentionally passing these as strings instead of creating a
660
+ # separate parameter per CLI argument, since it's easier to see
661
+ # control/see which combinations we want to run.
662
+ - " -r=stable --env=development"
663
+ - " -r=stable --env=production"
664
+ - " -r=experimental --env=development"
665
+ - " -r=experimental --env=production"
666
+
667
+ # Dev Tools
668
+ - " --project=devtools -r=experimental"
669
+
670
+ # TODO: Update test config to support www build tests
671
+ # - "-r=www-classic --env=development"
672
+ # - "-r=www-classic --env=production"
673
+ # - "-r=www-classic --env=development --variant"
674
+ # - "-r=www-classic --env=production --variant"
675
+ # - "-r=www-modern --env=development"
676
+ # - "-r=www-modern --env=production"
677
+ # - "-r=www-modern --env=development --variant"
678
+ # - "-r=www-modern --env=production --variant"
663
679
664
680
fuzz_tests :
665
681
triggers :
0 commit comments