Files
letro-ios/UnitTests/SupportingFiles/target.yml
Doug eb21f72b22 #106: Begin adding the Analytics class from EI.
No UI or SDK support to enable/disable yet and no tracking is implemented.
2022-09-02 10:09:02 +01:00

52 lines
1022 B
YAML

name: UnitTests
schemes:
UnitTests:
analyze:
config: Debug
archive:
config: Release
build:
targets:
UnitTests: all
profile:
config: Release
run:
config: Debug
disableMainThreadChecker: false
environmentVariables:
IS_RUNNING_UNIT_TESTS: "1"
test:
config: Debug
disableMainThreadChecker: false
captureScreenshotsAutomatically: false
gatherCoverageData: true
coverageTargets:
- ElementX
targets:
- UnitTests
targets:
UnitTests:
type: bundle.unit-test
platform: iOS
dependencies:
- target: ElementX
info:
path: ../SupportingFiles/Info.plist
settings:
base:
PRODUCT_NAME: UnitTests
PRODUCT_BUNDLE_IDENTIFIER: io.element.elementx.unit.tests
debug:
release:
sources:
- path: ../Sources
- path: ../SupportingFiles
- path: ../../Tools/Scripts/Templates/SimpleScreenExample/Tests/Unit
- path: ../Resources