123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- include:
- # browser-integration
- - local: '/.gitlab/ci/browser-integration/capybara_chrome.yml'
- - local: '/.gitlab/ci/browser-integration/capybara_ff.yml'
- - local: '/.gitlab/ci/browser-integration/idoit_chrome.yml'
- - local: '/.gitlab/ci/browser-integration/otrs_chrome.yml'
- - local: '/.gitlab/ci/browser-integration/zendesk_chrome.yml'
- .template_browser-integration_capybara: &template_browser-integration_capybara
- stage: browser-integration
- dependencies:
- - browser:build
- extends:
- - .env_base
- - .variables_app_restart_cmd
- - .variables_es
- - .services_mysql_postgresql_elasticsearch_selenium_imap
- variables:
- RAILS_ENV: "test"
- script:
- - bundle exec rake zammad:ci:test:prepare
- - bundle exec rspec --fail-fast --pattern "spec/system/**/*_spec.rb" -t integration
- .template_browser-integration: &template_browser-integration
- stage: browser-integration
- dependencies:
- - browser:build
- extends:
- - .env_base
- - .variables_app_restart_cmd
- - .services_postgresql_selenium
- variables:
- RAILS_ENV: "production"
- AUTO_WIZARD_FILE: "contrib/auto_wizard_test.json"
- script:
- - RAILS_ENV=test bundle exec rake db:create
- - cp $AUTO_WIZARD_FILE auto_wizard.json
- - bundle exec rake zammad:ci:test:start
- - bundle exec rails test $TEST_FILE
- .template_browser-integration_import: &template_browser-integration_import
- stage: browser-integration
- dependencies:
- - browser:build
- extends:
- - .env_base
- - .services_postgresql_selenium
- variables:
- RAILS_ENV: "production"
- BROWSER: "chrome"
- RAILS_SERVE_STATIC_FILES: "true"
- script:
- - RAILS_ENV=test bundle exec rake db:create
- - bundle exec rake zammad:ci:test:start
- - bundle exec rails test $TEST_FILE
- # we need at least one job to store and include this template
- # $IGNORE is not defined
- ignore:
- stage: test
- only:
- variables:
- - $IGNORE
- script:
- - ''
|