mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-09 23:12:40 -04:00
Move test job env to command line
This commit is contained in:
parent
a76482a50c
commit
07e1456b56
1 changed files with 1 additions and 3 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -47,8 +47,6 @@ jobs:
|
||||||
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
|
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
|
||||||
|
|
||||||
build_test:
|
build_test:
|
||||||
env:
|
|
||||||
RUST_TEST_TASKS: 2
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target: [ x86_64-unknown-linux-gnu, x86_64-apple-darwin ]
|
target: [ x86_64-unknown-linux-gnu, x86_64-apple-darwin ]
|
||||||
|
@ -105,7 +103,7 @@ jobs:
|
||||||
|
|
||||||
- name: Cargo test
|
- name: Cargo test
|
||||||
if: (!matrix.skip_tests)
|
if: (!matrix.skip_tests)
|
||||||
run: cargo test --workspace --all-features
|
run: cargo test -j2 --workspace --all-features
|
||||||
env:
|
env:
|
||||||
MONERO_ADDITIONAL_SLEEP_PERIOD: 60000
|
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.
|
RUST_MIN_STACK: 16777216 # 16 MB. Default is 8MB. This is fine as in tests we start 2 programs: Alice and Bob.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue