Move test job env to command line

This commit is contained in:
Franck Royer 2021-01-22 16:26:27 +11:00
parent a76482a50c
commit 07e1456b56
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -47,8 +47,6 @@ jobs:
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
build_test:
env:
RUST_TEST_TASKS: 2
strategy:
matrix:
target: [ x86_64-unknown-linux-gnu, x86_64-apple-darwin ]
@ -105,7 +103,7 @@ jobs:
- name: Cargo test
if: (!matrix.skip_tests)
run: cargo test --workspace --all-features
run: cargo test -j2 --workspace --all-features
env:
MONERO_ADDITIONAL_SLEEP_PERIOD: 60000
RUST_MIN_STACK: 16777216 # 16 MB. Default is 8MB. This is fine as in tests we start 2 programs: Alice and Bob.