Specify cpu count to build plume-cli

This commit is contained in:
Kitaiti Makoto 2021-01-25 00:27:45 +09:00
parent f9e7d2bb23
commit d091c24f79

View File

@ -143,7 +143,7 @@ jobs:
cache: <<#parameters.postgres>>postgres<</ parameters.postgres>><<^parameters.postgres>>sqlite<</parameters.postgres>>
- run_with_coverage:
cmd: |
cargo run -p plume-cli --no-default-features --features=${FEATURES} -- migration run
cargo run -p plume-cli --no-default-features --features=${FEATURES} -j1 -- migration run
cmd="cargo test --all --exclude plume-front --exclude plume-macro --no-run --no-default-features --features=${FEATURES} -j"
for i in 36 4 2 1 1; do
$cmd $i && break