Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(test): run in nightly container has no cargo (near#2619)
When run locally, `fn warmup` will compile neard binary. When run in nightly, binary is prebuilt by script. Test Plan ------------ ``` docker run --rm -u $UID:$UID -w /home/bo/workspace/nearcore2 -e NIGHTLY_RUNNER=1 -e CARGO_MANIFEST_DIR=/home/bo/workspace/nearcore2/test-utils/testlib -v /home/bo/workspace/nearcore2/target/debug/deps/cross_shard_tx-779ceb73f76760d6:/home/bo/workspace/nearcore2/target/debug/deps/cross_shard_tx-779ceb73f76760d6 -v /home/bo/workspace/nearcore2/runtime/near-vm-runner/tests/res/test_contract_rs.wasm:/home/bo/workspace/nearcore2/runtime/near-vm-runner/tests/res/test_contract_rs.wasm -w /home/bo/workspace/nearcore2 -it ubuntu:19.04 /home/bo/workspace/nearcore2/target/debug/deps/cross_shard_tx-779ceb73f76760d6 ``` to simulate parallel nightly
- Loading branch information