include: - local: '/.gitlab/ci/rspec/mysql.yml' - local: '/.gitlab/ci/rspec/postgresql.yml' .template_rspec: &template_rspec extends: - .env_base variables: RAILS_ENV: "test" script: - bundle exec rake zammad:db:init - bundle exec rspec --exclude-pattern "spec/{system,integration}/**/*_spec.rb" -t ~searchindex -t ~db_strategy:reset .template_rspec_db_reset: &template_rspec_db_reset extends: - .env_base variables: RAILS_ENV: "test" script: - bundle exec rake zammad:db:init - bundle exec rspec --exclude-pattern "spec/{system,integration}/**/*_spec.rb" -t ~searchindex -t db_strategy:reset rspec:integration: stage: test extends: - .env_base - .services_mysql_postgresql_redis_memcached - .rules_integration_manual_start variables: RAILS_ENV: "test" script: - bundle exec rake zammad:db:init - bundle exec rspec -t type:integration