mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-13 05:10:59 +00:00
fe66edf712
Get old circleci.yml entry.sh env Add test.sh for testing Update Makefile for correct docker path ADd env/test.sh
17 lines
399 B
Bash
17 lines
399 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
# Undo the `bundle --deployment --without development test`
|
|
# settings baked into the prod-ready Docker image's .bundle/config
|
|
bundle config --delete without
|
|
bundle config --delete frozen
|
|
|
|
# Install gems in development and test groups
|
|
bundle
|
|
|
|
# Ensure database exists and has latest migrations
|
|
bundle exec rake db:create
|
|
bundle exec rake db:migrate
|
|
|
|
# Run tests
|
|
bundle exec rake
|