mirror of
https://github.com/zammad/zammad
synced 2026-05-24 09:48:36 +00:00
23 lines
570 B
Bash
Executable file
23 lines
570 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -o errexit
|
|
set -o pipefail
|
|
|
|
# shellcheck disable=SC1091
|
|
source /etc/profile.d/rvm.sh
|
|
# shellcheck disable=SC1091
|
|
source .gitlab/environment.env
|
|
|
|
echo "Checking assets generation…"
|
|
bundle exec rake assets:precompile
|
|
|
|
echo "Running front end tests…"
|
|
pnpm test
|
|
|
|
echo "Running basic rspec tests…"
|
|
bundle exec rake zammad:db:init
|
|
bundle exec rspec --exclude-pattern "spec/system/**/*_spec.rb" -t ~searchindex -t ~integration -t ~required_envs
|
|
|
|
echo "Running basic minitest tests…"
|
|
bundle exec rake zammad:db:reset
|
|
bundle exec rake test:units
|