1
- version : 2
1
+ version : 2.1
2
2
3
3
aliases :
4
4
- &docker
@@ -455,37 +455,20 @@ jobs:
455
455
command : yarn lint-build
456
456
- run : scripts/circleci/check_minified_errors.sh
457
457
458
- yarn_test-stable_build :
459
- docker : *docker
460
- environment : *environment
461
- parallelism : *TEST_PARALLELISM
462
- steps :
463
- - checkout
464
- - attach_workspace : *attach_workspace
465
- - run : yarn workspaces info | head -n -1 > workspace_info.txt
466
- - *restore_node_modules
467
- - run : yarn test-stable --build --ci
468
-
469
458
yarn_test_build :
470
459
docker : *docker
471
460
environment : *environment
472
461
parallelism : *TEST_PARALLELISM
462
+ parameters :
463
+ args :
464
+ type : string
473
465
steps :
474
466
- checkout
475
- - attach_workspace : *attach_workspace
476
- - run : yarn workspaces info | head -n -1 > workspace_info.txt
477
- - *restore_node_modules
478
- - run : yarn test --build --ci
479
-
480
- yarn_test_build_devtools :
481
- docker : *docker
482
- environment : *environment
483
- steps :
484
- - checkout
485
- - attach_workspace : *attach_workspace
467
+ - attach_workspace :
468
+ at : build2
486
469
- run : yarn workspaces info | head -n -1 > workspace_info.txt
487
470
- *restore_node_modules
488
- - run : yarn test --project=devtools -- build --ci
471
+ - run : yarn test --build <<parameters.args>> --ci
489
472
490
473
RELEASE_CHANNEL_stable_yarn_test_dom_fixtures :
491
474
docker : *docker
@@ -518,28 +501,6 @@ jobs:
518
501
FUZZ_TEST_SEED=$RANDOM yarn test fuzz --ci
519
502
FUZZ_TEST_SEED=$RANDOM yarn test --prod fuzz --ci
520
503
521
- yarn_test-stable_build_prod :
522
- docker : *docker
523
- environment : *environment
524
- parallelism : *TEST_PARALLELISM
525
- steps :
526
- - checkout
527
- - attach_workspace : *attach_workspace
528
- - run : yarn workspaces info | head -n -1 > workspace_info.txt
529
- - *restore_node_modules
530
- - run : yarn test-stable --build --prod --ci
531
-
532
- yarn_test_build_prod :
533
- docker : *docker
534
- environment : *environment
535
- parallelism : *TEST_PARALLELISM
536
- steps :
537
- - checkout
538
- - attach_workspace : *attach_workspace
539
- - run : yarn workspaces info | head -n -1 > workspace_info.txt
540
- - *restore_node_modules
541
- - run : yarn test --build --prod --ci
542
-
543
504
workflows :
544
505
version : 2
545
506
stable :
@@ -584,12 +545,6 @@ workflows:
584
545
- RELEASE_CHANNEL_stable_yarn_lint_build :
585
546
requires :
586
547
- 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
548
- RELEASE_CHANNEL_stable_yarn_test_dom_fixtures :
594
549
requires :
595
550
- RELEASE_CHANNEL_stable_yarn_build
@@ -624,18 +579,9 @@ workflows:
624
579
- sizebot_experimental :
625
580
requires :
626
581
- yarn_build
627
- - yarn_test_build :
628
- requires :
629
- - yarn_build
630
- - yarn_test_build_prod :
631
- requires :
632
- - yarn_build
633
582
- yarn_lint_build :
634
583
requires :
635
584
- yarn_build
636
- - yarn_test_build_devtools :
637
- requires :
638
- - yarn_build
639
585
- build_devtools_and_process_artifacts :
640
586
requires :
641
587
- yarn_build
@@ -660,6 +606,32 @@ workflows:
660
606
- process_artifacts_combined :
661
607
requires :
662
608
- yarn_build_combined
609
+ - yarn_test_build :
610
+ requires :
611
+ - yarn_build_combined
612
+ matrix :
613
+ parameters :
614
+ args :
615
+ # Intentionally passing these as strings instead of creating a
616
+ # separate parameter per CLI argument, since it's easier to
617
+ # control/see which combinations we want to run.
618
+ - " -r=stable --env=development"
619
+ - " -r=stable --env=production"
620
+ - " -r=experimental --env=development"
621
+ - " -r=experimental --env=production"
622
+
623
+ # Dev Tools
624
+ - " --project=devtools -r=experimental"
625
+
626
+ # TODO: Update test config to support www build tests
627
+ # - "-r=www-classic --env=development"
628
+ # - "-r=www-classic --env=production"
629
+ # - "-r=www-classic --env=development --variant"
630
+ # - "-r=www-classic --env=production --variant"
631
+ # - "-r=www-modern --env=development"
632
+ # - "-r=www-modern --env=production"
633
+ # - "-r=www-modern --env=development --variant"
634
+ # - "-r=www-modern --env=production --variant"
663
635
664
636
fuzz_tests :
665
637
triggers :
0 commit comments