Run tests in docker container
This commit is contained in:
parent
c9c1b74e48
commit
52d3965df0
|
|
@ -16,9 +16,8 @@ kaniko:
|
||||||
|
|
||||||
rails spec:
|
rails spec:
|
||||||
stage: test
|
stage: test
|
||||||
image: ruby:2.6.2
|
image: $CI_REGISTRY_IMAGE/test/commits:$CI_COMMIT_SHA
|
||||||
script:
|
script:
|
||||||
- bundle install --path /cache
|
|
||||||
- bundle exec rails db:migrate RAILS_ENV=test
|
- bundle exec rails db:migrate RAILS_ENV=test
|
||||||
- bundle exec rails spec
|
- bundle exec rails spec
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue