1234567891011121314151617181920212223242526 |
- include:
- - local: '/.gitlab/ci/unit/mysql.yml'
- - local: '/.gitlab/ci/unit/postgresql.yml'
- .template_unit: &template_unit
- extends:
- - .env_base
- variables:
- RAILS_ENV: "test"
- script:
- - echo -e "\\e[0Ksection_start:`date +%s`:zammad_db_init[collapsed=true]\\r\\e[0Kbundle exec rake zammad:db:init"
- - bundle exec rake zammad:db:init
- - echo -e "\\e[0Ksection_end:`date +%s`:zammad_db_init\\r\\e[0K"
- - bundle exec rake test:units
- - bundle exec rails test test/integration/object_manager_test.rb
- - bundle exec rails test test/integration/package_test.rb
- # we need at least one job to store and include this template
- # $IGNORE is not defined
- ignore:
- stage: test
- only:
- variables:
- - $IGNORE
- script:
- - ''
|