From 988eebbf920284ae4ac9ed1a355bcdc78f9623a0 Mon Sep 17 00:00:00 2001 From: Ian Saultz <52051793+atierian@users.noreply.github.com> Date: Mon, 23 Oct 2023 17:48:03 -0400 Subject: [PATCH] test: [skip ci] add workflow dispatch inputs for platform-specific integration tests (#3318) --- .github/workflows/integ_test_analytics.yml | 19 ++++++++++++++ .../workflows/integ_test_api_functional.yml | 19 ++++++++++++++ .../integ_test_api_graphql_auth_directive.yml | 13 ++++++++++ .../workflows/integ_test_api_graphql_iam.yml | 13 ++++++++++ .../integ_test_api_graphql_lambda_auth.yml | 19 ++++++++++++++ .../integ_test_api_graphql_lazy_load.yml | 13 ++++++++++ .../integ_test_api_graphql_user_pool.yml | 13 ++++++++++ .github/workflows/integ_test_api_rest_iam.yml | 19 ++++++++++++++ .../integ_test_api_rest_user_pool.yml | 13 ++++++++++ .github/workflows/integ_test_auth.yml | 25 +++++++++++++++++++ .../integ_test_datastore_auth_cognito.yml | 19 ++++++++++++++ .../integ_test_datastore_auth_iam.yml | 19 ++++++++++++++ .../workflows/integ_test_datastore_base.yml | 19 ++++++++++++++ .../workflows/integ_test_datastore_cpk.yml | 19 ++++++++++++++ .../integ_test_datastore_lazy_load.yml | 19 ++++++++++++++ .../integ_test_datastore_multi_auth.yml | 19 ++++++++++++++ .github/workflows/integ_test_datastore_v2.yml | 19 ++++++++++++++ .github/workflows/integ_test_geo.yml | 19 ++++++++++++++ .github/workflows/integ_test_logging.yml | 19 ++++++++++++++ .github/workflows/integ_test_predictions.yml | 19 ++++++++++++++ .../integ_test_push_notifications.yml | 19 ++++++++++++++ .github/workflows/integ_test_storage.yml | 19 ++++++++++++++ 22 files changed, 394 insertions(+) diff --git a/.github/workflows/integ_test_analytics.yml b/.github/workflows/integ_test_analytics.yml index 9cba4f5b7d..8dccaee2d8 100644 --- a/.github/workflows/integ_test_analytics.yml +++ b/.github/workflows/integ_test_analytics.yml @@ -1,6 +1,22 @@ name: Integration Tests | Analytics on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +25,7 @@ permissions: jobs: analytics-integration-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} runs-on: macos-13 environment: IntegrationTest steps: @@ -36,6 +53,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' analytics-integration-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} runs-on: macos-13 environment: IntegrationTest steps: @@ -64,6 +82,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' analytics-integration-test-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} runs-on: macos-13 environment: IntegrationTest steps: diff --git a/.github/workflows/integ_test_api_functional.yml b/.github/workflows/integ_test_api_functional.yml index 20485cfeda..ac1db905ed 100644 --- a/.github/workflows/integ_test_api_functional.yml +++ b/.github/workflows/integ_test_api_functional.yml @@ -1,6 +1,22 @@ name: Integration Tests | API - Functional on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +25,7 @@ permissions: jobs: api-functional-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} runs-on: macos-13 environment: IntegrationTest steps: @@ -36,6 +53,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' api-functional-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} runs-on: macos-13 environment: IntegrationTest steps: @@ -64,6 +82,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' api-functional-test-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} runs-on: macos-13 environment: IntegrationTest steps: diff --git a/.github/workflows/integ_test_api_graphql_auth_directive.yml b/.github/workflows/integ_test_api_graphql_auth_directive.yml index 9fe9adf6e9..22f1fc95be 100644 --- a/.github/workflows/integ_test_api_graphql_auth_directive.yml +++ b/.github/workflows/integ_test_api_graphql_auth_directive.yml @@ -1,6 +1,17 @@ name: Integration Tests | API - GraphQL Auth Directive on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +20,7 @@ permissions: jobs: api-graphql-auth-directive-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} runs-on: macos-13 environment: IntegrationTest steps: @@ -36,6 +48,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' api-graphql-auth-directive-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} runs-on: macos-13 environment: IntegrationTest steps: diff --git a/.github/workflows/integ_test_api_graphql_iam.yml b/.github/workflows/integ_test_api_graphql_iam.yml index c394239186..c5cdfa6082 100644 --- a/.github/workflows/integ_test_api_graphql_iam.yml +++ b/.github/workflows/integ_test_api_graphql_iam.yml @@ -1,6 +1,17 @@ name: Integration Tests | API - GraphQL IAM on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +20,7 @@ permissions: jobs: api-graphql-iam-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} runs-on: macos-13 environment: IntegrationTest steps: @@ -36,6 +48,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' api-graphql-iam-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} runs-on: macos-13 environment: IntegrationTest steps: diff --git a/.github/workflows/integ_test_api_graphql_lambda_auth.yml b/.github/workflows/integ_test_api_graphql_lambda_auth.yml index 01cf9ba807..5ed3b0cda9 100644 --- a/.github/workflows/integ_test_api_graphql_lambda_auth.yml +++ b/.github/workflows/integ_test_api_graphql_lambda_auth.yml @@ -1,6 +1,22 @@ name: Integration Tests | API - GraphQL Lambda on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +25,7 @@ permissions: jobs: api-graphql-lambda-auth-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} runs-on: macos-13 environment: IntegrationTest steps: @@ -36,6 +53,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' api-graphql-lambda-auth-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} runs-on: macos-13 environment: IntegrationTest steps: @@ -64,6 +82,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' api-graphql-lambda-auth-test-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} runs-on: macos-13 environment: IntegrationTest steps: diff --git a/.github/workflows/integ_test_api_graphql_lazy_load.yml b/.github/workflows/integ_test_api_graphql_lazy_load.yml index 171dfb0812..e731ebe3f0 100644 --- a/.github/workflows/integ_test_api_graphql_lazy_load.yml +++ b/.github/workflows/integ_test_api_graphql_lazy_load.yml @@ -1,6 +1,17 @@ name: Integration Tests | API - GraphQL Lazy Load on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +20,7 @@ permissions: jobs: api-lazy-load-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} runs-on: macos-13 environment: IntegrationTest steps: @@ -36,6 +48,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' api-lazy-load-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} runs-on: macos-13 environment: IntegrationTest steps: diff --git a/.github/workflows/integ_test_api_graphql_user_pool.yml b/.github/workflows/integ_test_api_graphql_user_pool.yml index 8f06939378..75944dc9ca 100644 --- a/.github/workflows/integ_test_api_graphql_user_pool.yml +++ b/.github/workflows/integ_test_api_graphql_user_pool.yml @@ -1,6 +1,17 @@ name: Integration Tests | API - GraphQL User Pool on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +20,7 @@ permissions: jobs: api-graphql-user-pool-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} runs-on: macos-13 environment: IntegrationTest steps: @@ -36,6 +48,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' api-graphql-user-pool-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} runs-on: macos-13 environment: IntegrationTest steps: diff --git a/.github/workflows/integ_test_api_rest_iam.yml b/.github/workflows/integ_test_api_rest_iam.yml index 6b38cbc49d..125c884f2c 100644 --- a/.github/workflows/integ_test_api_rest_iam.yml +++ b/.github/workflows/integ_test_api_rest_iam.yml @@ -1,6 +1,22 @@ name: Integration Tests | API - REST IAM on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +25,7 @@ permissions: jobs: api-rest-iam-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} runs-on: macos-13 environment: IntegrationTest steps: @@ -36,6 +53,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' api-rest-iam-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} runs-on: macos-13 environment: IntegrationTest steps: @@ -64,6 +82,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' api-rest-iam-test-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} runs-on: macos-13 environment: IntegrationTest steps: diff --git a/.github/workflows/integ_test_api_rest_user_pool.yml b/.github/workflows/integ_test_api_rest_user_pool.yml index 8026949e30..186c457baa 100644 --- a/.github/workflows/integ_test_api_rest_user_pool.yml +++ b/.github/workflows/integ_test_api_rest_user_pool.yml @@ -1,6 +1,17 @@ name: Integration Tests | API - REST User Pool on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +20,7 @@ permissions: jobs: api-rest-user-pool-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} runs-on: macos-13 environment: IntegrationTest steps: @@ -36,6 +48,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' api-rest-user-pool-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} runs-on: macos-13 environment: IntegrationTest steps: diff --git a/.github/workflows/integ_test_auth.yml b/.github/workflows/integ_test_auth.yml index 2ed5fff4ee..277335edca 100644 --- a/.github/workflows/integ_test_auth.yml +++ b/.github/workflows/integ_test_auth.yml @@ -1,6 +1,27 @@ name: Integration Tests | Auth on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean + hostedui-ios: + description: '🌵 HostedUI iOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +30,7 @@ permissions: jobs: auth-integration-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} runs-on: macos-13 environment: IntegrationTest steps: @@ -36,6 +58,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' auth-integration-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} runs-on: macos-13 environment: IntegrationTest steps: @@ -64,6 +87,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' auth-integration-test-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} runs-on: macos-13 environment: IntegrationTest steps: @@ -92,6 +116,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' auth-ui-integration-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.hostedui-ios }} runs-on: macos-12 environment: IntegrationTest steps: diff --git a/.github/workflows/integ_test_datastore_auth_cognito.yml b/.github/workflows/integ_test_datastore_auth_cognito.yml index 7ef3ab196b..8da62dc393 100644 --- a/.github/workflows/integ_test_datastore_auth_cognito.yml +++ b/.github/workflows/integ_test_datastore_auth_cognito.yml @@ -1,6 +1,22 @@ name: Integration Tests | DataStore - Auth Cognito on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +25,7 @@ permissions: jobs: datastore-integration-auth-cognito-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest @@ -38,6 +55,7 @@ jobs: other_flags: '-test-iterations 3 -retry-tests-on-failure' datastore-integration-auth-cognito-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest @@ -68,6 +86,7 @@ jobs: other_flags: '-test-iterations 3 -retry-tests-on-failure' datastore-integration-auth-cognito-test-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest diff --git a/.github/workflows/integ_test_datastore_auth_iam.yml b/.github/workflows/integ_test_datastore_auth_iam.yml index 44e7bd0f65..568834765e 100644 --- a/.github/workflows/integ_test_datastore_auth_iam.yml +++ b/.github/workflows/integ_test_datastore_auth_iam.yml @@ -1,6 +1,22 @@ name: Integration Tests | DataStore - Auth IAM on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +25,7 @@ permissions: jobs: datastore-integration-auth-iam-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest @@ -38,6 +55,7 @@ jobs: other_flags: '-test-iterations 3 -retry-tests-on-failure' datastore-integration-auth-iam-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest @@ -68,6 +86,7 @@ jobs: other_flags: '-test-iterations 3 -retry-tests-on-failure' datastore-integration-auth-iam-test-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest diff --git a/.github/workflows/integ_test_datastore_base.yml b/.github/workflows/integ_test_datastore_base.yml index 504e887004..ba45454837 100644 --- a/.github/workflows/integ_test_datastore_base.yml +++ b/.github/workflows/integ_test_datastore_base.yml @@ -1,6 +1,22 @@ name: Integration Tests | DataStore - Base on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +25,7 @@ permissions: jobs: datastore-integration-test-base-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest @@ -38,6 +55,7 @@ jobs: other_flags: '-test-iterations 3 -retry-tests-on-failure' datastore-integration-test-base-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest @@ -68,6 +86,7 @@ jobs: other_flags: '-test-iterations 3 -retry-tests-on-failure' datastore-integration-test-base-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest diff --git a/.github/workflows/integ_test_datastore_cpk.yml b/.github/workflows/integ_test_datastore_cpk.yml index bcd5f18f5f..1f48780ee7 100644 --- a/.github/workflows/integ_test_datastore_cpk.yml +++ b/.github/workflows/integ_test_datastore_cpk.yml @@ -1,6 +1,22 @@ name: Integration Tests | DataStore - CPK on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +25,7 @@ permissions: jobs: datastore-integration-cpk-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest @@ -38,6 +55,7 @@ jobs: other_flags: '-test-iterations 3 -retry-tests-on-failure' datastore-integration-cpk-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest @@ -68,6 +86,7 @@ jobs: other_flags: '-test-iterations 3 -retry-tests-on-failure' datastore-integration-cpk-test-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest diff --git a/.github/workflows/integ_test_datastore_lazy_load.yml b/.github/workflows/integ_test_datastore_lazy_load.yml index 2fa088b9a9..ab0e5f8cff 100644 --- a/.github/workflows/integ_test_datastore_lazy_load.yml +++ b/.github/workflows/integ_test_datastore_lazy_load.yml @@ -1,6 +1,22 @@ name: Integration Tests | DataStore - Lazy Load on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +25,7 @@ permissions: jobs: datastore-integration-lazy-load-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest @@ -38,6 +55,7 @@ jobs: other_flags: '-test-iterations 3 -retry-tests-on-failure' datastore-integration-lazy-load-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest @@ -68,6 +86,7 @@ jobs: other_flags: '-test-iterations 3 -retry-tests-on-failure' datastore-integration-lazy-load-test-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest diff --git a/.github/workflows/integ_test_datastore_multi_auth.yml b/.github/workflows/integ_test_datastore_multi_auth.yml index eb096a403d..93fc522563 100644 --- a/.github/workflows/integ_test_datastore_multi_auth.yml +++ b/.github/workflows/integ_test_datastore_multi_auth.yml @@ -1,6 +1,22 @@ name: Integration Tests | DataStore - Multi Auth on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +25,7 @@ permissions: jobs: datastore-integration-multi-auth-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest @@ -38,6 +55,7 @@ jobs: other_flags: '-test-iterations 3 -retry-tests-on-failure' datastore-integration-multi-auth-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest @@ -68,6 +86,7 @@ jobs: other_flags: '-test-iterations 3 -retry-tests-on-failure' datastore-integration-multi-auth-test-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest diff --git a/.github/workflows/integ_test_datastore_v2.yml b/.github/workflows/integ_test_datastore_v2.yml index a9e682f27e..262a8a6aaa 100644 --- a/.github/workflows/integ_test_datastore_v2.yml +++ b/.github/workflows/integ_test_datastore_v2.yml @@ -1,6 +1,22 @@ name: Integration Tests | DataStore - TransformerV2 on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +25,7 @@ permissions: jobs: datastore-integration-v2-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest @@ -38,6 +55,7 @@ jobs: other_flags: '-test-iterations 3 -retry-tests-on-failure' datastore-integration-v2-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest @@ -68,6 +86,7 @@ jobs: other_flags: '-test-iterations 3 -retry-tests-on-failure' datastore-integration-v2-test-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} timeout-minutes: 60 runs-on: macos-13 environment: IntegrationTest diff --git a/.github/workflows/integ_test_geo.yml b/.github/workflows/integ_test_geo.yml index 0debbec997..4ba3bcf0e6 100644 --- a/.github/workflows/integ_test_geo.yml +++ b/.github/workflows/integ_test_geo.yml @@ -1,6 +1,22 @@ name: Integration Test | Geo on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +25,7 @@ permissions: jobs: geo-integration-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} runs-on: macos-13 environment: IntegrationTest steps: @@ -36,6 +53,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' geo-integration-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} runs-on: macos-13 environment: IntegrationTest steps: @@ -64,6 +82,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' geo-integration-test-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} runs-on: macos-13 environment: IntegrationTest steps: diff --git a/.github/workflows/integ_test_logging.yml b/.github/workflows/integ_test_logging.yml index 4084c4bbff..738a5bcf75 100644 --- a/.github/workflows/integ_test_logging.yml +++ b/.github/workflows/integ_test_logging.yml @@ -1,6 +1,22 @@ name: Integration Tests | Logging on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +25,7 @@ permissions: jobs: logging-integration-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} runs-on: macos-13 environment: IntegrationTest steps: @@ -36,6 +53,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' logging-integration-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} runs-on: macos-13 environment: IntegrationTest steps: @@ -64,6 +82,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' logging-integration-test-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} runs-on: macos-13 environment: IntegrationTest steps: diff --git a/.github/workflows/integ_test_predictions.yml b/.github/workflows/integ_test_predictions.yml index 149648670b..b661a77541 100644 --- a/.github/workflows/integ_test_predictions.yml +++ b/.github/workflows/integ_test_predictions.yml @@ -1,6 +1,22 @@ name: Integration Tests | Predictions on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +25,7 @@ permissions: jobs: predictions-integration-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} continue-on-error: true timeout-minutes: 30 runs-on: macos-13 @@ -41,6 +58,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' predictions-integration-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} continue-on-error: true timeout-minutes: 30 runs-on: macos-13 @@ -74,6 +92,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' predictions-integration-test-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} continue-on-error: true timeout-minutes: 30 runs-on: macos-13 diff --git a/.github/workflows/integ_test_push_notifications.yml b/.github/workflows/integ_test_push_notifications.yml index dbaecaeda8..242b28667c 100644 --- a/.github/workflows/integ_test_push_notifications.yml +++ b/.github/workflows/integ_test_push_notifications.yml @@ -1,6 +1,22 @@ name: Integration Tests | Push Notifications on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +25,7 @@ permissions: jobs: push-notification-integration-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} runs-on: macos-13 timeout-minutes: 45 environment: IntegrationTest @@ -49,6 +66,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' push-notification-integration-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} runs-on: macos-13 timeout-minutes: 30 environment: IntegrationTest @@ -90,6 +108,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' push-notification-integration-test-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} runs-on: macos-13 timeout-minutes: 30 environment: IntegrationTest diff --git a/.github/workflows/integ_test_storage.yml b/.github/workflows/integ_test_storage.yml index e190989139..7e00e05529 100644 --- a/.github/workflows/integ_test_storage.yml +++ b/.github/workflows/integ_test_storage.yml @@ -1,6 +1,22 @@ name: Integration Tests | Storage on: workflow_dispatch: + inputs: + ios: + description: '📱 iOS' + required: true + default: true + type: boolean + tvos: + description: '📺 tvOS' + required: true + default: true + type: boolean + watchos: + description: '⌚️ watchOS' + required: true + default: true + type: boolean workflow_call: permissions: @@ -9,6 +25,7 @@ permissions: jobs: storage-integration-test-iOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.ios }} runs-on: macos-13 environment: IntegrationTest steps: @@ -36,6 +53,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' storage-integration-test-tvOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.tvos }} runs-on: macos-13 environment: IntegrationTest steps: @@ -64,6 +82,7 @@ jobs: xcode_path: '/Applications/Xcode_14.3.app' storage-integration-test-watchOS: + if: ${{ github.event_name != 'workflow_dispatch' || inputs.watchos }} runs-on: macos-13 environment: IntegrationTest steps: