Browse Source

Run database migration on CI

pull/870/head
Kitaiti Makoto 6 months ago
parent
commit
06962514fe
  1. 3
      .circleci/config.yml

3
.circleci/config.yml

@ -141,6 +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: |
cmd="cargo test --all --exclude plume-front --exclude plume-macro --no-run --no-default-features --features=${FEATURES} -j"

Loading…
Cancel
Save