.circleci/config.yml
version: 2
jobs:
build:
docker:
- image: circleci/ruby:2.6.7
steps:
- checkout
- restore_cache:
keys:
- v1-gems-{{ checksum "Gemfile.lock" }}
- v1-gems-
- run:
name: Bundle Install
command: bundle check || bundle install
- save_cache:
key: v1-gems-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle
- run:
command: bundle exec rspec
- store_test_results:
path: test_results