* moved NSRegularExpression outside of the AttributedString builder into the MatrixEntityRegex * fixed eventId v3 regex * added permalink builders for users, room identifiers and aliases, and events * added timeline item permalink contextual menu actions and error alerts * added an app wide ServiceLocator and moved the top level userIndicatorPresenter to it. * added URL constructor that takes a StaticString and returns an non-optional * Include Unit and UI tests in the swiftlint search paths
52 lines
1.0 KiB
YAML
52 lines
1.0 KiB
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
|
|
|