Skip to content

Instantly share code, notes, and snippets.

@pftg
Created December 25, 2017 12:11
Show Gist options
  • Select an option

  • Save pftg/22c1bb4d754445117f96fca459aa021e to your computer and use it in GitHub Desktop.

Select an option

Save pftg/22c1bb4d754445117f96fca459aa021e to your computer and use it in GitHub Desktop.
Speed Up your Rails Test Suite on CI by 10%
# Add after bundle install section
- restore_cache:
keys:
- v1-asset-cache-{{ arch }}-{{ .Branch }}
- v1-asset-cache-
- run: bundle exec rake assets:precompile
- save_cache:
key: v1-asset-cache-{{ arch }}-{{ .Branch }}-{{ epoch }}
paths:
- public/assets
- tmp/cache/assets/sprockets
# Run tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment