File tree Expand file tree Collapse file tree 2 files changed +48
-1
lines changed
Expand file tree Collapse file tree 2 files changed +48
-1
lines changed Original file line number Diff line number Diff line change 1+ version : 2.1
2+ orbs :
3+ ruby : circleci/ruby@0.1.2
4+
5+ jobs :
6+ build :
7+ docker :
8+ - image : circleci/ruby:2.6.3
9+ steps :
10+ - checkout
11+ - ruby/bundle-install
12+
13+
14+
15+ test : # our next job, called "test"
16+ # we run "parallel job containers" to enable speeding up our tests;
17+ # this splits our tests across multiple containers.
18+ parallelism : 3
19+ # here we set TWO docker images.
20+ docker :
21+ - image : circleci/ruby:2.6.3
22+
23+ environment :
24+ CC_TEST_REPORTER_ID : $CC_TEST_REPORTER_ID
25+ steps :
26+ - checkout
27+ - ruby/install-deps
28+
29+ - run :
30+ name : Setup dummy app
31+ command : cd spec/dummy && bin/setup
32+ - run :
33+ name : Setup Code Climate test-reporter
34+ command : |
35+ curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
36+ chmod +x ./cc-test-reporter
37+ - run :
38+ name : Test report
39+ command : cc-test-reporter before-build
40+ - run :
41+ name : Run tests
42+ command : bundle exec rspec
43+ - run :
44+ name : Test report
45+ command : |
46+ cc-test-reporter after-build
Original file line number Diff line number Diff line change @@ -5,4 +5,5 @@ spec/dummy/db/*.sqlite3
55spec /dummy /db /* .sqlite3-journal
66spec /dummy /log /* .log
77spec /dummy /tmp /
8- .byebug_history
8+ .byebug_history
9+ coverage /*
You can’t perform that action at this time.
0 commit comments