Specify features on running migration on CI

This commit is contained in:
Kitaiti Makoto 2021-01-16 17:31:05 +09:00
parent ac507d1d42
commit 02277b1ace

View File

@ -143,7 +143,7 @@ jobs:
cache: <<#parameters.postgres>>postgres<</ parameters.postgres>><<^parameters.postgres>>sqlite<</parameters.postgres>> cache: <<#parameters.postgres>>postgres<</ parameters.postgres>><<^parameters.postgres>>sqlite<</parameters.postgres>>
- run_with_coverage: - run_with_coverage:
cmd: | cmd: |
cargo run -p plume-cli -- migration run cargo run -p plume-cli --no-default-features --features=${FEATURES} -- 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