summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-05-14 13:55:08 -0600
committermo khan <mo.khan@gmail.com>2020-05-14 13:55:08 -0600
commit972f990b336ed2f3feaa2f043dec4f919f17f34c (patch)
tree9e47c3ffade3667425deeea2a5d1a6acbb7f1d04 /.gitlab
parentf805c95c08d03d054f0c52e259acf08b11f8481f (diff)
Record code coverage
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/test.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab/test.yml b/.gitlab/test.yml
index 52ec662..d5c3d7d 100644
--- a/.gitlab/test.yml
+++ b/.gitlab/test.yml
@@ -16,7 +16,7 @@ size:
- export CURRENT_SIZE=$(docker image inspect $TMP_IMAGE --format='{{.Size}}')
- echo $MAX_SIZE
- echo $CURRENT_SIZE
- - test $MAX_SIZE" -gt "$CURRENT_SIZE
+ - test "$MAX_SIZE" -gt "$CURRENT_SIZE"
lint:
stage: test
@@ -41,8 +41,10 @@ lint:
- vendor/bundle
artifacts:
paths:
+ - coverage/coverage.xml
- rspec.xml
reports:
+ cobertura: coverage/coverage.xml
junit: rspec.xml
unit: