Created
December 25, 2017 12:11
-
-
Save pftg/22c1bb4d754445117f96fca459aa021e to your computer and use it in GitHub Desktop.
Speed Up your Rails Test Suite on CI by 10%
This file contains hidden or 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
| # 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