unit.yml 516 B

123456789101112131415161718192021222324
  1. .template_unit:
  2. extends:
  3. - .job_rules_default
  4. script:
  5. - !reference [.scripts, zammad_db_init]
  6. - bundle exec rake test:units
  7. unit:mysql:
  8. stage: test
  9. extends:
  10. - .template_unit
  11. services:
  12. - !reference [.services, mysql]
  13. - !reference [.services, redis]
  14. - !reference [.services, memcached]
  15. unit:postgresql:
  16. stage: test
  17. extends:
  18. - .template_unit
  19. services:
  20. - !reference [.services, postgresql]
  21. - !reference [.services, redis]
  22. - !reference [.services, memcached]