mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
chore(folio): wire gates recipe, app path, and ignore gate output
This commit is contained in:
1 parent
e90453d9b9
commit
571dd414f5
2 files changed
+11
-1
No files matched your search
@@ -8,5 +8,6 @@ app/iosApp/iosApp.xcodeproj/**
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
sanderling/node_modules/
|
sanderling/node_modules/
|
||||||
sanderling/runs/
|
sanderling/runs/
|
||||||
|
sanderling/gates/
|
||||||
.playwright-mcp/
|
.playwright-mcp/
|
||||||
web-*.png
|
web-*.png
|
||||||
+10
-1
@@ -7,6 +7,7 @@ duration := env_var_or_default("DURATION", "1m")
|
|||||||
seed := env_var_or_default("SEED", "0")
|
seed := env_var_or_default("SEED", "0")
|
||||||
output := env_var_or_default("OUTPUT", justfile_directory() / "sanderling" / "runs")
|
output := env_var_or_default("OUTPUT", justfile_directory() / "sanderling" / "runs")
|
||||||
ios_device := env_var_or_default("IOS_DEVICE", "iPhone 17 Pro")
|
ios_device := env_var_or_default("IOS_DEVICE", "iPhone 17 Pro")
|
||||||
|
ios_app := justfile_directory() / "app" / "iosApp" / "build" / "Build" / "Products" / "Debug-iphonesimulator" / "iosApp.app"
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@just --list
|
@just --list
|
||||||
@@ -118,7 +119,7 @@ ios:
|
|||||||
-destination 'platform=iOS Simulator,name={{ios_device}}' \
|
-destination 'platform=iOS Simulator,name={{ios_device}}' \
|
||||||
-derivedDataPath app/iosApp/build \
|
-derivedDataPath app/iosApp/build \
|
||||||
build | tail -5
|
build | tail -5
|
||||||
xcrun simctl install booted app/iosApp/build/Build/Products/Debug-iphonesimulator/iosApp.app
|
xcrun simctl install booted "{{ios_app}}"
|
||||||
xcrun simctl launch booted app.folio
|
xcrun simctl launch booted app.folio
|
||||||
|
|
||||||
# Run 'sanderling test' against the folio app. Uses a connected device if one is
|
# Run 'sanderling test' against the folio app. Uses a connected device if one is
|
||||||
@@ -167,7 +168,15 @@ test-ios:
|
|||||||
--platform ios \
|
--platform ios \
|
||||||
--spec "{{justfile_directory()}}/sanderling/spec.ts" \
|
--spec "{{justfile_directory()}}/sanderling/spec.ts" \
|
||||||
--bundle-id app.folio \
|
--bundle-id app.folio \
|
||||||
|
--ios-app-path "{{ios_app}}" \
|
||||||
"${ios_device_flag[@]}" \
|
"${ios_device_flag[@]}" \
|
||||||
--duration "{{duration}}" \
|
--duration "{{duration}}" \
|
||||||
--seed "{{seed}}" \
|
--seed "{{seed}}" \
|
||||||
--output "{{output}}"
|
--output "{{output}}"
|
||||||
|
|
||||||
|
# BACKEND=simulator (default) or BACKEND=device; honors RUNS/DURATION/SEED and
|
||||||
|
# the IOS_DEVICE/--ios-device convention. `just gates --self-test` runs the
|
||||||
|
# offline analyzer tests without a device.
|
||||||
|
# Run the iOS conformance gate: five serial 3-minute runs scored against G1..G5.
|
||||||
|
gates *args:
|
||||||
|
"{{justfile_directory()}}/gates.sh" {{args}}
|
||||||
Reference in new issue
Block a user