Skip to content

Integration Tests | DataStore - Multi Auth #1

Integration Tests | DataStore - Multi Auth

Integration Tests | DataStore - Multi Auth #1

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:
id-token: write
contents: read
jobs:
datastore-integration-multi-auth-tests:
name: DataStore Integration Tests | Multi Auth
strategy:
fail-fast: false
matrix:
platform: [iOS, tvOS, watchOS]
exclude:
- platform: ${{ github.event.inputs.ios == 'false' && 'iOS' || 'None' }}
- platform: ${{ github.event.inputs.tvos == 'false' && 'tvOS' || 'None' }}
- platform: ${{ github.event.inputs.watchos == 'false' && 'watchOS' || 'None' }}
uses: ./.github/workflows/run_integration_tests.yml
with:
scheme: ${{ matrix.platform == 'watchOS' && 'AWSDataStorePluginMultiAuthTestsWatch' || 'AWSDataStorePluginMultiAuthTests' }}
platform: ${{ matrix.platform }}
project_path: ./AmplifyPlugins/DataStore/Tests/DataStoreHostApp
resource_subfolder: datastore
timeout-minutes: 120
secrets: inherit