diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5f5f279ac..e7390f75b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -135,6 +135,23 @@ job_integration_es: stage: test tags: - core + - mysql + script: + - export RAILS_ENV=test + - export ES_INDEX="estest.local_zammad_"$RNAME + - export ES_URL="http://localhost:9200" + - rake db:drop; + - rake db:create + - rake db:migrate + - ruby -I test/ test/integration/elasticsearch_test.rb + - ruby -I test/ test/controllers/search_controller_test.rb + - ruby -I test/ test/integration/report_test.rb + +job_integration_es: + stage: test + tags: + - core + - postgresql script: - export RAILS_ENV=test - export ES_INDEX="estest.local_zammad_"$RNAME