Run tests in docker container
This commit is contained in:
parent
c9c1b74e48
commit
52d3965df0
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue