This commit is contained in:
dbroqua 2020-02-11 19:52:53 +01:00
parent 0e8101c9e4
commit 2b043f952b

View file

@ -11,6 +11,7 @@ variables:
stages:
- build
- migrate
- test
cache:
@ -25,9 +26,17 @@ install_dependencies:
paths:
- node_modules/
testing_testing:
stage: test
migrate:
stage: migrate
script:
- ./node_modules/.bin/sequelize db:migrate
seed:
stage: seed
script:
- ./node_modules/.bin/sequelize db:seed:all
testing:
stage: test
script:
- yarn test --ci --collectCoverage=true