Fix CI command

This commit is contained in:
Kitaiti Makoto 2021-01-16 16:50:57 +09:00
parent 5148349098
commit ac507d1d42

View File

@ -141,11 +141,9 @@ jobs:
steps:
- restore_env:
cache: <<#parameters.postgres>>postgres<</ parameters.postgres>><<^parameters.postgres>>sqlite<</parameters.postgres>>
- run_migration:
cmd: |
cargo run -p plume-cli -- migration run
- run_with_coverage:
cmd: |
cargo run -p plume-cli -- 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