element-ios/RiotSwiftUI/targetUITests.yml

57 lines
1.4 KiB
YAML

name: RiotSwiftUITests
schemes:
RiotSwiftUITests:
analyze:
config: Debug
archive:
config: Release
build:
targets:
RiotSwiftUITests:
- running
- testing
- profiling
- analyzing
- archiving
profile:
config: Release
run:
config: Debug
disableMainThreadChecker: true
test:
config: Debug
disableMainThreadChecker: true
targets:
- RiotSwiftUITests
targets:
RiotSwiftUITests:
type: bundle.ui-testing
platform: iOS
dependencies:
- target: RiotSwiftUI
settings:
base:
TEST_TARGET_NAME: RiotSwiftUI
PRODUCT_BUNDLE_IDENTIFIER: org.matrix.RiotSwiftUITests$(rfc1034identifier)
sources:
# Source included/excluded here here are similar to RiotSwiftUI as we
# need access to ScreenStates
- path: ../RiotSwiftUI/Modules
excludes:
- "**/MatrixSDK/**"
- "**/Coordinator/**"
- "**/Test/Unit/**"
- path: ../Riot/Generated/Strings.swift
- path: ../Riot/Generated/Images.swift
- path: ../Riot/Managers/Theme/ThemeIdentifier.swift
- path: ../Riot/Managers/Locale/LocaleProviderType.swift
- path: ../Riot/Assets/en.lproj/Vector.strings
buildPhase: resources
- path: ../Riot/Assets/Images.xcassets
buildPhase: resources
- path: ../Riot/Assets/SharedImages.xcassets
buildPhase: resources