Debug CI
This commit is contained in:
parent
0e8101c9e4
commit
2b043f952b
1 changed files with 11 additions and 2 deletions
|
@ -11,6 +11,7 @@ variables:
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
- migrate
|
||||||
- test
|
- test
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
|
@ -25,9 +26,17 @@ install_dependencies:
|
||||||
paths:
|
paths:
|
||||||
- node_modules/
|
- node_modules/
|
||||||
|
|
||||||
testing_testing:
|
migrate:
|
||||||
stage: test
|
stage: migrate
|
||||||
script:
|
script:
|
||||||
- ./node_modules/.bin/sequelize db:migrate
|
- ./node_modules/.bin/sequelize db:migrate
|
||||||
|
|
||||||
|
seed:
|
||||||
|
stage: seed
|
||||||
|
script:
|
||||||
- ./node_modules/.bin/sequelize db:seed:all
|
- ./node_modules/.bin/sequelize db:seed:all
|
||||||
|
|
||||||
|
testing:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
- yarn test --ci --collectCoverage=true
|
- yarn test --ci --collectCoverage=true
|
||||||
|
|
Loading…
Reference in a new issue