-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SRCH-1905 resolve intermittent cucumber failures (#660)
- bump test gems - bump nokogiri - simplify CircleCi gem installation - tweak VCR/Webmock settings
- Loading branch information
1 parent
79f7fe3
commit 2fdaea7
Showing
5 changed files
with
58 additions
and
72 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,9 @@ | |
|
||
version: 2.1 | ||
|
||
orbs: | ||
ruby: circleci/[email protected] | ||
|
||
executors: | ||
test_executor: | ||
working_directory: ~/search-gov | ||
|
@@ -89,18 +92,8 @@ jobs: | |
- restore_cache: | ||
key: repo-{{ .Environment.CIRCLE_SHA1 }} | ||
|
||
- restore_cache: | ||
key: search-gov-{{ checksum "Gemfile.lock" }} | ||
- ruby/install-deps | ||
|
||
- run: | ||
name: Install Dependencies | ||
command: | | ||
bundle install --without development --jobs=4 --retry=3 --path vendor/bundle | ||
- save_cache: | ||
key: search-gov-{{ checksum "Gemfile.lock" }} | ||
paths: | ||
- vendor/bundle | ||
|
||
rspec: | ||
executor: test_executor | ||
|
@@ -111,10 +104,7 @@ jobs: | |
- restore_cache: | ||
key: repo-{{ .Environment.CIRCLE_SHA1 }} | ||
|
||
- restore_cache: | ||
key: search-gov-{{ checksum "Gemfile.lock" }} | ||
|
||
- run: bundle --path vendor/bundle | ||
- ruby/install-deps | ||
|
||
- prepare_database | ||
|
||
|
@@ -156,11 +146,7 @@ jobs: | |
- restore_cache: | ||
key: repo-{{ .Environment.CIRCLE_SHA1 }} | ||
|
||
- restore_cache: | ||
key: search-gov-{{ checksum "Gemfile.lock" }} | ||
|
||
- run: bundle --path vendor/bundle | ||
|
||
- ruby/install-deps | ||
- prepare_database | ||
|
||
- run: | ||
|
@@ -201,10 +187,7 @@ jobs: | |
- restore_cache: | ||
key: repo-{{ .Environment.CIRCLE_SHA1 }} | ||
|
||
- restore_cache: | ||
key: search-gov-{{ checksum "Gemfile.lock" }} | ||
|
||
- run: bundle --path vendor/bundle | ||
- ruby/install-deps | ||
|
||
- attach_workspace: | ||
at: ~/search-gov/coverage | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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