changeset 501:e62e57101e4a

Remove outdated test script
author nanaya <me@nanaya.net>
date Mon, 16 Dec 2024 01:11:30 +0900
parents 062723d1f66c
children 507b7f8e8b3b
files bin/run_test
diffstat 1 files changed, 0 insertions(+), 28 deletions(-) [+]
line wrap: on
line diff
--- a/bin/run_test	Sun Dec 15 22:36:06 2024 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-set -x
-
-test true = "$CI" && bi_params="--without development"
-bundle install $bi_params
-
-if ! test -f config/database.yml; then
-  cat << EOF > config/database.yml
-test:
-  adapter: postgresql
-  database: zp_test
-  user: postgres
-EOF
-fi
-
-if ! test -f config/local_config.rb; then
-  # rake requires booting Rails which in turn requires availability of
-  # local_config.
-  touch config/local_config.rb
-  cat << EOF > config/local_config.rb
-\$cfg[:standalone] = true
-\$cfg[:secret_key] = "$(bundle exec rake secret)"
-EOF
-fi
-
-RAILS_ENV=test bundle exec rake db:setup
-bundle exec rake