Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert me: Debug CI
  • Loading branch information
cmichi committed Jan 26, 2024
commit c9fb742f6ffa6967b18085275b903f6fc19a1db0
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -488,11 +488,12 @@ jobs:
scripts/for_all_contracts_exec.sh --path integration-tests --ignore static-buffer -- cargo test \
--verbose --all-features --manifest-path {}
# run flipper E2E test with on-chain contract
substrate-contracts-node -lruntime::contracts=debug 2>&1 | tee /tmp/contracts-node.log &
substrate-contracts-node -lruntime::contracts=debug 2>&1 | tee /tmp/contracts-node.log &
cargo contract build --release --manifest-path integration-tests/flipper/Cargo.toml
cargo install subkey
cargo contract instantiate --salt 10 --manifest-path integration-tests/flipper/Cargo.toml --suri //Alice --args true -x -y --output-json | jq -r .contract | xargs subkey inspect | grep -o "0x.*" | head -n1
export CONTRACT_HEX=$(cargo contract instantiate --manifest-path integration-tests/flipper/Cargo.toml --suri //Alice --args true -x -y --output-json | jq -r .contract | xargs subkey inspect | grep -o "0x.*" | head -n1)
CONTRACTS_NODE_URL=ws://127.0.0.1:9944 cargo test --features e2e-tests e2e_test_deployed_contract -- --ignored
RUST_LOG=info CONTRACTS_NODE_URL=ws://127.0.0.1:9944 cargo test --features e2e-tests e2e_test_deployed_contract -- --ignored --nocapture
# run the static buffer test with a custom buffer size
cargo clean --manifest-path integration-tests/static-buffer/Cargo.toml
INK_STATIC_BUFFER_SIZE=30 cargo test --verbose --manifest-path integration-tests/static-buffer/Cargo.toml --all-features
Expand Down