File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,14 @@ jobs:
56
56
- run :
57
57
name : run tests
58
58
command : |
59
- mkdir / tmp/test-results
59
+ mkdir -p tmp/test-results tmp/test-artifacts
60
60
./cc-test-reporter before-build
61
61
TEST_FILES="$(circleci tests glob "spec/usage/**/*_spec.rb" | circleci tests split --split-by=timings)"
62
62
63
63
bundle exec rspec --format progress \
64
64
--out /tmp/test-results/rspec.xml \
65
65
--format progress \
66
- $TEST_FILES
66
+ -- { $TEST_FILES}
67
67
68
68
- run :
69
69
name : Code Climate Test Coverage
78
78
- store_test_results :
79
79
path : /tmp/test-results
80
80
- store_artifacts :
81
- path : /tmp/test-results
82
- destination : test-results
81
+ path : /tmp/test-artifacts
83
82
84
83
upload-coverage :
85
84
docker :
97
96
- run :
98
97
command : |
99
98
./cc-test-reporter sum-coverage --output - codeclimate.*.json | ./cc-test-reporter upload-coverage --debug --input -
100
-
101
- workflows :
102
- version : 2
103
-
104
- commit :
105
- jobs :
106
- - build
107
- - upload-coverage :
108
- requires :
109
- - build
You can’t perform that action at this time.
0 commit comments