From 07e1456b56eea06ee0c76e44224bfe990fd9c7aa Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Fri, 22 Jan 2021 16:26:27 +1100 Subject: [PATCH] Move test job env to command line --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a025e96..3ec7abab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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.