File tree Expand file tree Collapse file tree 5 files changed +24
-6
lines changed
Expand file tree Collapse file tree 5 files changed +24
-6
lines changed Original file line number Diff line number Diff line change 4444 path : consensus-client-it/target/test-logs
4545 if-no-files-found : warn
4646 retention-days : 14
47+
48+ local-network :
49+ name : Run Local Network tests
50+ runs-on : ubuntu-latest
51+ steps :
52+ - uses : actions/checkout@v4
53+ - uses : actions/setup-java@v4
54+ with :
55+ distribution : ' temurin'
56+ java-version : ' 11'
57+ cache : ' sbt'
58+ - uses : foundry-rs/foundry-toolchain@v1
59+ - uses : sbt/setup-sbt@v1
60+ - run : |
61+ sbt --batch docker
62+ cd local-network
63+ ./restart.sh
64+ env:
65+ COMPOSE_PROFILES: tests
Original file line number Diff line number Diff line change @@ -8,8 +8,4 @@ RUN curl -L https://foundry.paradigm.xyz | bash && foundryup
88COPY pyproject.toml ./
99RUN pip install --no-cache-dir .
1010
11- # 0.8.29 is not supported on Apple ARM, see https://github.com/foundry-rs/foundry/issues/6665#issuecomment-2101885706
12- # So we install this manually
13- RUN solc-select use 0.8.29 --always-install
14-
1511CMD ["/bin/bash" , "run.sh" ]
Original file line number Diff line number Diff line change 8181 atomic_amount_for_each * cl_poor_accounts_number ,
8282 reissuable = True ,
8383 txFee = 500_000 ,
84- )
84+ )[ "id" ]
8585 waves .wait_for_approval (log , reissue_txn_id )
8686 log .info ("Additional tokens issued" )
8787
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ version = "0.1"
88description = " Scripts and tests for a locally deployed Unit network"
99dependencies = [
1010 " solc-select" ,
11- " units-network @ git+https://github.com/UnitsNetwork/examples.git" ,
11+ " units-network @ git+https://github.com/UnitsNetwork/examples.git@block-delay-on-contract " ,
1212]
1313readme = " README.md"
1414requires-python = " >=3.9"
Original file line number Diff line number Diff line change 1414export COMPOSE_PROFILES=" ${COMPOSE_PROFILES:- } "
1515echo " Compose profiles are: ${COMPOSE_PROFILES} "
1616
17+ pwd
18+ find ../contracts
19+
1720docker compose up -d
1821docker compose logs deploy tests -f
You can’t perform that action at this time.
0 commit comments