Skip to content

Instantly share code, notes, and snippets.

@rakibulislam
Created November 18, 2018 04:47
Show Gist options
  • Save rakibulislam/bcc99390f389a4c160673e07a5cee50c to your computer and use it in GitHub Desktop.
Save rakibulislam/bcc99390f389a4c160673e07a5cee50c to your computer and use it in GitHub Desktop.
# semaphore:
old steps:
export RAILS_ENV=test
bundle install --deployment --path vendor/bundle
bundle exec rake db:create
bundle exec rake db:setup
bundle exec rake db:test:prepare
bundle exec rake spec
bundle exec rubocop
new steps:
export RAILS_ENV=test
bundle install --deployment --path vendor/bundle
bundle exec rake semaphore:prepare_db_config
bundle exec rake parallel:drop parallel:create parallel:load_schema
bundle exec rake parallel:spec
bundle exec rubocop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment