OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/docker/dev/backend/scripts/setup-tests

19 lines
544 B

#!/bin/sh
set -e
bundle exec rake db:migrate
bundle exec rake i18n:js:export openproject:plugins:register_frontend assets:rebuild_manifest assets:clean
cp -rp config/frontend_assets.manifest.json public/assets/frontend_assets.manifest.json
echo ""
echo ""
echo "Ready for tests. Run"
echo " bin/compose exec backend-test bundle exec rspec"
echo "to start the full suite, or "
echo " bin/compose exec backend-test bundle exec rspec path/to/some_spec.rb"
echo "to run a subset"
# Keep this container online
while true; do sleep 1000; done;