unit.yml 568 B

123456789101112131415161718192021222324
  1. include:
  2. - local: '/.gitlab/ci/unit/mysql.yml'
  3. - local: '/.gitlab/ci/unit/postgresql.yml'
  4. .template_unit: &template_unit
  5. extends:
  6. - .env_base
  7. variables:
  8. RAILS_ENV: "test"
  9. script:
  10. - bundle exec rake zammad:db:init
  11. - bundle exec rake test:units
  12. - bundle exec rails test test/integration/object_manager_test.rb
  13. - bundle exec rails test test/integration/package_test.rb
  14. # we need at least one job to store and include this template
  15. # $IGNORE is not defined
  16. ignore:
  17. stage: test
  18. only:
  19. variables:
  20. - $IGNORE
  21. script:
  22. - ''