mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 08:15:24 +00:00
f73285db3e
Continue grouping the standalone modules under Components. Updates the preview asset paths and the media resource references in the app and unit test targets.
67 lines
1.7 KiB
YAML
67 lines
1.7 KiB
YAML
name: UnitTests
|
|
|
|
schemes:
|
|
UnitTests:
|
|
analyze:
|
|
config: Debug
|
|
archive:
|
|
config: Release
|
|
build:
|
|
targets:
|
|
UnitTests: all
|
|
profile:
|
|
config: Release
|
|
run:
|
|
config: Debug
|
|
disableMainThreadChecker: false
|
|
test:
|
|
config: Debug
|
|
disableMainThreadChecker: false
|
|
gatherCoverageData: true
|
|
coverageTargets:
|
|
- ElementX
|
|
testPlans:
|
|
- path: UnitTests.xctestplan
|
|
defaultPlan: true
|
|
|
|
targets:
|
|
UnitTests:
|
|
type: bundle.unit-test
|
|
platform: iOS
|
|
|
|
dependencies:
|
|
- target: ElementX
|
|
- target: MapLibreInterface
|
|
- package: MatrixRustSDK
|
|
- package: AsyncAlgorithms
|
|
- package: Clocks
|
|
- package: Dynamic
|
|
- package: BuildExtensions
|
|
product: Macros
|
|
|
|
info:
|
|
path: ../SupportingFiles/Info.plist
|
|
|
|
settings:
|
|
base:
|
|
PRODUCT_NAME: UnitTests
|
|
PRODUCT_BUNDLE_IDENTIFIER: ${BASE_BUNDLE_IDENTIFIER}.unit.tests
|
|
# Requires iOS 26 so tests exercise the Observations-based observe(_:) overload.
|
|
IPHONEOS_DEPLOYMENT_TARGET: '26.0'
|
|
SWIFT_VERSION: 6.2
|
|
SWIFT_APPROACHABLE_CONCURRENCY: YES
|
|
SWIFT_DEFAULT_ACTOR_ISOLATION: MainActor
|
|
debug:
|
|
release:
|
|
|
|
sources:
|
|
- path: ../Sources
|
|
- path: ../SupportingFiles
|
|
- path: ../../Components/DevelopmentAssets/Media
|
|
- path: ../../Components/DevelopmentAssets/ClassicAppFixtures
|
|
buildPhase: resources # Necessary to add binary files to the target.
|
|
- path: ../../ElementX/Sources/Other/Extensions/Publisher.swift
|
|
- path: ../../ElementX/Sources/Other/InfoPlistReader.swift
|
|
- path: ../../Tools/Scripts/Templates/SimpleScreenExample/Tests/Unit
|
|
|