2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
6 # This script invokes `rake test' in a fresh Docker instance of the
8 # docker run -t -i arvados/api /usr/src/arvados/services/api/script/rake_test.sh
10 /etc/init.d/postgresql start
13 cd /usr/src/arvados/services/api
14 cp config/environments/test.rb.example config/environments/test.rb
15 bundle exec rake db:setup