mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Switched to running Ghost in CI migration tests
- if we only run 'knex-migrator init', the settings don't get populated like they would when running Ghost - switching to running Ghost for initialization is more realistic of what would happen IRL
This commit is contained in:
parent
ee5d0e962d
commit
d67683d7e6
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -59,7 +59,9 @@ jobs:
|
||||
mysql root password: 'root'
|
||||
|
||||
- run: yarn
|
||||
- run: yarn knex-migrator init
|
||||
- run: |
|
||||
node index.js &
|
||||
sleep 10 && { kill $! && wait $!; } 2>/dev/null
|
||||
- run: yarn knex-migrator rollback --v 3.0 --force
|
||||
- run: yarn knex-migrator migrate --force
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user