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: 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