Update config.yml
This commit is contained in:
parent
e24a9aa89a
commit
c06708dc91
@ -5,28 +5,19 @@ orbs:
|
|||||||
node: circleci/node@2
|
node: circleci/node@2
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
|
||||||
docker:
|
|
||||||
- image: cimg/ruby:2.7-node
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run : bundle install
|
|
||||||
test:
|
test:
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/ruby:2.7-node
|
- image: cimg/ruby:2.7-node
|
||||||
environment:
|
|
||||||
BUNDLE_RETRY: "3"
|
|
||||||
RAILS_ENV: test
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- run :
|
||||||
|
name: prerequisites
|
||||||
|
command :bundle install
|
||||||
- run:
|
- run:
|
||||||
name: test
|
name: test
|
||||||
command: bundle exec rake validate lint
|
command: bundle exec rake validate lint
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build_and_test:
|
test:
|
||||||
jobs:
|
jobs:
|
||||||
- build
|
- test
|
||||||
- test:
|
|
||||||
requires:
|
|
||||||
- build
|
|
||||||
|
Loading…
Reference in New Issue
Block a user