Skip to content
Merged
Show file tree
Hide file tree
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
Take e2e test binary location from cargo
  • Loading branch information
obrok committed Dec 1, 2022
commit d0c89f672efdc972220290a47ccf3d80312ce2e8
3 changes: 1 addition & 2 deletions .github/workflows/e2e-tests-main-devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ jobs:
run: |
cd e2e-tests/
rm -f target/release/deps/aleph_e2e_client*
cargo test --no-run --release
cp $(find target/release/deps/ -executable | grep aleph_e2e_client | head) target/release/aleph-e2e-client
cp $(cargo test --no-run --release --message-format=json | jq -r .executable | grep aleph_e2e_client) target/release/aleph_e2e_client
docker build --tag aleph-e2e-client:latest -f Dockerfile .
docker save -o aleph-e2e-client.tar aleph-e2e-client:latest

Expand Down
1 change: 1 addition & 0 deletions e2e-tests/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/run_e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ set -e

cd e2e-tests/

E2E_CONFIG="--node 127.0.0.1:9943" RUST_LOG=aleph_e2e_client=info,aleph-client=info cargo test -- --nocapture
E2E_CONFIG="--node ws://127.0.0.1:9943" RUST_LOG=info cargo test -- --nocapture

exit $?