69 lines
1.8 KiB
YAML
69 lines
1.8 KiB
YAML
name: Sybil
|
|
options:
|
|
createIntermediateGroups: true
|
|
generateEmptyDirectories: true
|
|
packages:
|
|
Sybil:
|
|
path: Packages/Sybil
|
|
include:
|
|
- Apps/Sybil/project.yml
|
|
- Apps/SybilMacQuickQuestion/project.yml
|
|
|
|
# Dedicated local-fixture UI suite; ordinary release archives only build SybilApp.
|
|
targets:
|
|
SybilPresentationTests:
|
|
type: bundle.unit-test
|
|
platform: iOS
|
|
deploymentTarget: "18.0"
|
|
sources:
|
|
- Tests/SybilPresentationTests
|
|
dependencies:
|
|
- target: SybilApp
|
|
- package: Sybil
|
|
settings:
|
|
base:
|
|
PRODUCT_BUNDLE_IDENTIFIER: net.buzzert.sybil2.presentation-tests
|
|
GENERATE_INFOPLIST_FILE: YES
|
|
SWIFT_VERSION: 6.0
|
|
TEST_HOST: "$(BUILT_PRODUCTS_DIR)/Sybil.app/Sybil"
|
|
BUNDLE_LOADER: "$(TEST_HOST)"
|
|
SybilAgentUITests:
|
|
type: bundle.ui-testing
|
|
platform: iOS
|
|
deploymentTarget: "18.0"
|
|
sources:
|
|
- Tests/SybilUITests
|
|
dependencies:
|
|
- target: SybilApp
|
|
settings:
|
|
base:
|
|
PRODUCT_BUNDLE_IDENTIFIER: net.buzzert.sybil2.agent-ui-tests
|
|
GENERATE_INFOPLIST_FILE: YES
|
|
INFOPLIST_KEY_NSPhotoLibraryUsageDescription: Synthetic attachment UI tests create and remove their own photo.
|
|
TEST_TARGET_NAME: SybilApp
|
|
SWIFT_VERSION: 6.0
|
|
schemes:
|
|
SybilPresentation:
|
|
run:
|
|
commandLineArguments:
|
|
"-sybil.ios.apiBaseURL http://127.0.0.1:8799/api -sybil.ios.adminToken fixture-token": true
|
|
environmentVariables:
|
|
SYBIL_PUSH_FIXTURE: "1"
|
|
build:
|
|
targets:
|
|
SybilApp: all
|
|
SybilPresentationTests: [test]
|
|
test:
|
|
config: Debug
|
|
targets:
|
|
- SybilPresentationTests
|
|
SybilAgentUI:
|
|
build:
|
|
targets:
|
|
SybilApp: all
|
|
SybilAgentUITests: [test]
|
|
test:
|
|
config: Debug
|
|
targets:
|
|
- SybilAgentUITests
|