Run tests in docker container

This commit is contained in:
Daniel Schädler 2019-06-20 20:28:53 +02:00
parent c9c1b74e48
commit 52d3965df0
1 changed files with 1 additions and 2 deletions

View File

@ -16,9 +16,8 @@ kaniko:
rails spec:
stage: test
image: ruby:2.6.2
image: $CI_REGISTRY_IMAGE/test/commits:$CI_COMMIT_SHA
script:
- bundle install --path /cache
- bundle exec rails db:migrate RAILS_ENV=test
- bundle exec rails spec