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: steps:
- restore_env: - restore_env:
cache: <<#parameters.postgres>>postgres<</ parameters.postgres>><<^parameters.postgres>>sqlite<</parameters.postgres>> cache: <<#parameters.postgres>>postgres<</ parameters.postgres>><<^parameters.postgres>>sqlite<</parameters.postgres>>
- run_migration:
cmd: |
cargo run -p plume-cli -- migration run
- run_with_coverage: - run_with_coverage:
cmd: | 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" 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 for i in 36 4 2 1 1; do
$cmd $i && break $cmd $i && break