File tree Expand file tree Collapse file tree 3 files changed +18
-15
lines changed Expand file tree Collapse file tree 3 files changed +18
-15
lines changed Original file line number Diff line number Diff line change 22
33[alias ] # command aliases
44bwl = " build --profile release-with-logs"
5- install_soroban = " binstall -y --install-path ./target/bin soroban-cli --version 20 .0.0-rc.4 .1"
6- install_soroban_dev = " install --git https://github.com/stellar/soroban-tools --rev v20.2.0 --debug --root ./target soroban-cli"
7- install_loam = " install --version 0.6.5 --debug --root ./target loam-cli"
5+ install_soroban = " binstall -y --install-path ./target/bin soroban-cli --version 21 .0.0-preview .1"
6+ # install_soroban_dev = "install --git https://github.com/stellar/soroban-tools --rev v20.2.0 --debug --root ./target soroban-cli"
7+ install_loam = " install --git https://github.com/loambuild/loam-sdk --rev 7eb6541d67160ac7bad3eeee5f72b8c94f4101de --debug --root ./target loam-cli"
88# c = "check"
99# t = "test"
1010r = " run --quiet"
Original file line number Diff line number Diff line change 11
2- name : local
3-
2+ name : Tests
43on :
54 push :
65 branches : [main, release/**]
76 pull_request :
87
98jobs :
109 test :
11- name : Test CLI
10+ name : test RPC
1211 runs-on : ubuntu-22.04
12+ env :
13+ SOROBAN_RPC_URL : http://localhost:8000/soroban/rpc
14+ SOROBAN_NETWORK_PASSPHRASE : " Standalone Network ; February 2017"
15+ SOROBAN_ACCOUNT : default
1316 services :
1417 rpc :
15- image : stellar/quickstart:testing
18+ image : stellar/quickstart:v423- testing
1619 ports :
1720 - 8000:8000
1821 env :
2629 --health-retries 50
2730 steps :
2831 - uses : actions/checkout@v3
29- - run : " curl --fail-with-body -X POST \" http://localhost:8000/soroban/rpc\" -H 'Content-Type: application/json' -d '{\" jsonrpc\" :\" 2.0\" ,\" id\" :8675309,\" method\" :\" getNetwork\" }'"
3032 - uses : actions/cache@v3
3133 with :
3234 path : |
@@ -36,11 +38,13 @@ jobs:
3638 ~/.cargo/git/db/
3739 target/
3840 key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
39- - uses : taiki-e/install-action@just
40- - uses : taiki-e/install-action@cargo-binstall
4141 - run : rustup update
4242 - run : rustup target add wasm32-unknown-unknown
43+ - uses : taiki-e/install-action@just
44+ - uses : taiki-e/install-action@nextest
45+ - uses : cargo-bins/cargo-binstall@main
4346 - run : just setup
47+ - run : cargo nextest run
4448 - run : just clean
4549 - run : just publish_all
4650 - run : just deployed_contracts
Original file line number Diff line number Diff line change @@ -59,12 +59,12 @@ build +args='':
5959
6060[private ]
6161setup_default :
62- - soroban config identity generate default --config-dir $CONFIG_DIR
62+ - soroban config identity generate default
6363
6464@ setup :
65- echo {{ if path_exists (soroban) == " true" { " " } else { ` cargo install_soroban_dev ` } }}
66- echo {{ if path_exists ( loam) == " true" { " " } else { ` cargo install_loam ` } }}
67- echo {{ if path_exists ( env_var ( ' CONFIG_DIR' ) / ' .soroban/identity/default.toml' ) == " true" { " " } else { ` just setup_default ` } }}
65+ cargo binstall -y --install-path . / target / bin soroban-cli --version 21.0.0 -preview. 1
66+ cargo install --git https: // github.com / loambuild / loam-sdk --rev 7 eb6 541 d6 7160 ac7bad3eeee5f7 2 b8c9 4 f4 101 de --debug --root . / target loam-cli
67+ just setup_default
6868
6969
7070@ fund_default :
@@ -90,7 +90,6 @@ setup_default:
9090publish_all : fund_default deploy_self
9191 #!/usr/bin/env bash
9292 set -e;
93- echo $SOROBAN_NETWORK;
9493 just install_self;
9594 for name in $(loam build --ls)
9695 do
You can’t perform that action at this time.
0 commit comments