diff --git a/.circleci/config.yml b/.circleci/config.yml index 725298e797b..1c7f1c67692 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -535,6 +535,23 @@ jobs: spec: chatbot-component browser: << parameters.browser >> + integ_react_datastore: + parameters: + browser: + type: string + executor: js-test-executor + <<: *test_env_vars + working_directory: ~/amplify-js-samples-staging/samples/react/datastore/many-to-many + steps: + - prepare_test_env + - integ_test_js: + test_name: 'React DataStore' + framework: react + category: datastore + sample_name: many-to-many + spec: many-to-many + browser: << parameters.browser >> + integ_react_datastore_subs_disabled: parameters: browser: @@ -551,6 +568,7 @@ jobs: sample_name: subs-disabled spec: subs-disabled browser: << parameters.browser >> + integ_react_storage: parameters: browser: @@ -726,7 +744,6 @@ releasable_branches: &releasable_branches - ui-components/main - 1.0-stable - native - - add-subs-disabled-test test_browsers: &test_browsers browser: [chrome, firefox] @@ -756,81 +773,81 @@ workflows: - integ_setup: filters: <<: *releasable_branches - # - unit_test: - # requires: - # - build - # - integ_react_auth: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # matrix: - # parameters: - # <<: *test_browsers - # - integ_angular_auth: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # matrix: - # parameters: - # <<: *test_browsers - # - integ_vue_auth: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # matrix: - # parameters: - # <<: *test_browsers - # - integ_react_predictions: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # matrix: - # parameters: - # <<: *test_browsers - # - integ_react_interactions: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # matrix: - # parameters: - # <<: *test_browsers - # - integ_vue_interactions: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # matrix: - # parameters: - # <<: *test_browsers - # - integ_angular_interactions: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # matrix: - # parameters: - # <<: *test_browsers - # - integ_react_datastore: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # matrix: - # parameters: - # <<: *test_browsers + - unit_test: + requires: + - build + - integ_react_auth: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + matrix: + parameters: + <<: *test_browsers + - integ_angular_auth: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + matrix: + parameters: + <<: *test_browsers + - integ_vue_auth: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + matrix: + parameters: + <<: *test_browsers + - integ_react_predictions: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + matrix: + parameters: + <<: *test_browsers + - integ_react_interactions: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + matrix: + parameters: + <<: *test_browsers + - integ_vue_interactions: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + matrix: + parameters: + <<: *test_browsers + - integ_angular_interactions: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + matrix: + parameters: + <<: *test_browsers + - integ_react_datastore: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + matrix: + parameters: + <<: *test_browsers - integ_react_datastore_subs_disabled: requires: - integ_setup @@ -840,112 +857,112 @@ workflows: matrix: parameters: <<: *test_browsers - # - integ_react_storage: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # matrix: - # parameters: - # <<: *test_browsers - # - integ_react_storage_multipart_progress: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # matrix: - # parameters: - # <<: *test_browsers - # - integ_react_storage_ui: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # - integ_react_amazon_cognito_identity_js: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # matrix: - # parameters: - # <<: *test_browsers - # - integ_node_amazon_cognito_identity_js: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # - integ_rn_ios_storage: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # - integ_rn_ios_storage_multipart_progress: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # - integ_rn_ios_push_notifications: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # - integ_rn_android_storage: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # - integ_rn_android_storage_multipart_progress: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # - integ_datastore_auth: - # requires: - # - integ_setup - # - build - # filters: - # <<: *releasable_branches - # matrix: - # parameters: - # <<: *datastore_auth_scenarios - # - deploy: - # filters: - # <<: *releasable_branches - # requires: - # - unit_test - # - integ_react_predictions - # - integ_react_datastore - # - integ_react_storage - # - integ_react_storage_multipart_progress - # - integ_react_storage_ui - # - integ_react_interactions - # - integ_angular_interactions - # - integ_vue_interactions - # - integ_react_amazon_cognito_identity_js - # - integ_node_amazon_cognito_identity_js - # - integ_react_auth - # - integ_angular_auth - # - integ_vue_auth - # - integ_rn_ios_storage - # - integ_rn_ios_storage_multipart_progress - # - integ_rn_ios_push_notifications - # - integ_rn_android_storage - # - integ_rn_android_storage_multipart_progress - # - integ_datastore_auth - # - post_release: - # filters: - # branches: - # only: - # - release - # requires: - # - deploy + - integ_react_storage: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + matrix: + parameters: + <<: *test_browsers + - integ_react_storage_multipart_progress: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + matrix: + parameters: + <<: *test_browsers + - integ_react_storage_ui: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + - integ_react_amazon_cognito_identity_js: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + matrix: + parameters: + <<: *test_browsers + - integ_node_amazon_cognito_identity_js: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + - integ_rn_ios_storage: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + - integ_rn_ios_storage_multipart_progress: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + - integ_rn_ios_push_notifications: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + - integ_rn_android_storage: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + - integ_rn_android_storage_multipart_progress: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + - integ_datastore_auth: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + matrix: + parameters: + <<: *datastore_auth_scenarios + - deploy: + filters: + <<: *releasable_branches + requires: + - unit_test + - integ_react_predictions + - integ_react_datastore + - integ_react_storage + - integ_react_storage_multipart_progress + - integ_react_storage_ui + - integ_react_interactions + - integ_angular_interactions + - integ_vue_interactions + - integ_react_amazon_cognito_identity_js + - integ_node_amazon_cognito_identity_js + - integ_react_auth + - integ_angular_auth + - integ_vue_auth + - integ_rn_ios_storage + - integ_rn_ios_storage_multipart_progress + - integ_rn_ios_push_notifications + - integ_rn_android_storage + - integ_rn_android_storage_multipart_progress + - integ_datastore_auth + - post_release: + filters: + branches: + only: + - release + requires: + - deploy