Repository navigation
test: cover Lightning receive on local Spark #317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
eed13b2
test: receive a Lightning payment on local Spark
piotr-iohk de93f4e
test: stop only the Spark profile locally
piotr-iohk 2a90c08
test: refresh Spark fixture settings and support Xcode 26.0
piotr-iohk c14598a
test: build each shared Spark image once
piotr-iohk 8d27b38
test: reveal Spark spending balance before asserting
piotr-iohk 4eabe44
docs: describe the local Spark nightly
piotr-iohk 4b2fea1
docs: describe Spark nightly retries
piotr-iohk d7ff68e
test: reuse cached images for the pinned Spark fixture
piotr-iohk 42ce6c3
test: support transferring the pinned Spark fixture images
piotr-iohk b5d77fb
test: generate pinned Spark settings for hosted iOS builds
piotr-iohk e8ddfb5
test: initialize Spark build settings without rebuilding images
piotr-iohk 615ca2d
test: allow an explicit iOS simulator architecture
piotr-iohk 9f6f407
test: run Spark from verified preloaded images
piotr-iohk 4d3c9bb
Report local nightly Spark results to Slack
piotr-iohk 08a6508
Distinguish Spark setup and interrupted case results
piotr-iohk b7e445a
Keep Spark app setup and case results distinct
piotr-iohk 1ae6c76
Match local nightly Slack summaries to staging
piotr-iohk 0bffc49
Default iOS simulator builds to arm64
piotr-iohk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| case "${1:-}" in | ||
| android|ios) ;; | ||
| *) | ||
| echo 'Usage: ./scripts/run-spark-e2e.sh {android|ios}' >&2 | ||
| exit 2 | ||
| ;; | ||
| esac | ||
|
|
||
| cd "$(dirname "$0")/.." | ||
| ./scripts/local-backend path >/dev/null | ||
| curl --fail --silent --show-error --max-time 5 http://127.0.0.1:23090/api/blocks/tip/height >/dev/null | ||
| if [[ "$1" == android ]]; then | ||
| for port in 23535 23536 23537 23049 23090; do | ||
| adb reverse "tcp:$port" "tcp:$port" | ||
| done | ||
| fi | ||
|
|
||
| # Each dedicated run must execute the payment even on a reused runner. | ||
| exec ./scripts/local-backend run env -u CI BITKIT_LOCAL_SPARK=1 "./ci_run_$1.sh" \ | ||
| --spec ./test/specs/spark.e2e.ts --mochaOpts.grep '@spark_1\b' |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.