Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
18 lines (14 sloc)
389 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
# CI-specific setup | |
if [ -n "$CI" ]; then | |
bundle config path vendor/bundle | |
bundle config jobs 4 | |
bundle config retry 3 | |
git config --global user.name 'GitHub Actions' | |
git config --global user.email 'github-actions@example.com' | |
fi | |
gem install bundler --conservative | |
bundle check || bundle install | |
bundle exec rake dummy:db:drop | |
bundle exec rake dummy:db:create |