Skip to content

Instantly share code, notes, and snippets.

@trobrock
Created June 5, 2019 20:32
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
#!/usr/bin/env bash
# Run this with `git bisect start BAD_SHA GOOD_SHA ; git bisect run ~/git-bisect.sh`
# Run migrations, bundle, etc to make sure the app updates through time, and ensure there is a clean git tree
bundle install
git checkout Gemfile.lock
# Run the test, the exec is important so it returns the proper status code
exec rspec spec/models/tasks/inventory_clone_spec.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment