summaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorMikhail Galanin <mgalanin@mimecast.com>2018-09-25 16:53:34 +0100
committerMikhail Galanin <mgalanin@mimecast.com>2018-09-25 16:53:34 +0100
commitd659f9172326059539c99d315a91d48dc91fe1ed (patch)
treeccbcddd2e30eab2fec19e817db35b4c755d1632a /.circleci
parent70571f2b5513db967f68194878e177c52e69a107 (diff)
downloadrspamd-d659f9172326059539c99d315a91d48dc91fe1ed.tar.gz
rspamd-d659f9172326059539c99d315a91d48dc91fe1ed.zip
[Minor] collect coverage when all tests are over
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml16
1 files changed, 10 insertions, 6 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 1ac0e01e5..19a1c4a8e 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -85,9 +85,6 @@ jobs:
key: coverage-{{ .Environment.CIRCLE_WORKFLOW_ID }}
paths:
- coverage.rspamd-test.info
- - *restore_coverage_data
-
- - *merge_and_upload_coverage_data
- run: (exit $RETURN_CODE)
@@ -118,9 +115,6 @@ jobs:
key: coverage-{{ .Environment.CIRCLE_WORKFLOW_ID }}
paths:
- coverage.functional.info
- - *restore_coverage_data
-
- - *merge_and_upload_coverage_data
- store_artifacts:
path: output.xml
@@ -152,6 +146,12 @@ jobs:
key: v1-dependencies-{{ checksum "package.json" }}
- run: ./node_modules/.bin/eslint -v && ./node_modules/.bin/eslint ./
+ send-coverage:
+ <<: *defaults
+ steps:
+ - *restore_coverage_data
+ - *merge_and_upload_coverage_data
+
workflows:
version: 2
build-and-test:
@@ -164,3 +164,7 @@ workflows:
- functional:
requires:
- build
+ - send-coverage:
+ requires:
+ - rspamd-test
+ - functional