diff --git a/.circleci/config.yml b/.circleci/config.yml index 36be4d512c5..725298e797b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -535,21 +535,21 @@ jobs: spec: chatbot-component browser: << parameters.browser >> - integ_react_datastore: + integ_react_datastore_subs_disabled: parameters: browser: type: string executor: js-test-executor <<: *test_env_vars - working_directory: ~/amplify-js-samples-staging/samples/react/datastore/many-to-many + working_directory: ~/amplify-js-samples-staging/samples/react/datastore/subs-disabled steps: - prepare_test_env - integ_test_js: test_name: 'React DataStore' framework: react category: datastore - sample_name: many-to-many - spec: many-to-many + sample_name: subs-disabled + spec: subs-disabled browser: << parameters.browser >> integ_react_storage: parameters: @@ -726,6 +726,7 @@ releasable_branches: &releasable_branches - ui-components/main - 1.0-stable - native + - add-subs-disabled-test test_browsers: &test_browsers browser: [chrome, firefox] @@ -755,10 +756,82 @@ workflows: - integ_setup: filters: <<: *releasable_branches - - unit_test: - requires: - - build - - integ_react_auth: + # - 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 - build @@ -767,175 +840,112 @@ workflows: 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_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