mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-14 07:51:01 +00:00
Run database migration on CI
This commit is contained in:
parent
c3c8f6804b
commit
06962514fe
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue