trabajo-afectivo/.gitlab/ci/integration/es.yml

26 lines
660 B
YAML
Raw Permalink Normal View History

.template_integration_es: &template_integration_es
extends:
- .env_base
- .services_mysql_postgresql_elasticsearch
- .variables_es
stage: test
tags:
- integration
script:
- bundle exec rake zammad:db:unseeded
- bundle exec rails test test/integration/elasticsearch_active_test.rb
- bundle exec rails test test/integration/elasticsearch_test.rb
- bundle exec rspec --tag searchindex --tag ~type:system --profile 10
es:7:
<<: *template_integration_es
variables:
ELASTICSEARCH_TAG: '7'
RAILS_ENV: "test"
es:7.8:
<<: *template_integration_es
variables:
ELASTICSEARCH_TAG: '7.8.1'
RAILS_ENV: "test"