aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.circleci/config.yml14
-rw-r--r--package.json2
2 files changed, 15 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 2bd2b8a4c..1aff6dde9 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -74,6 +74,9 @@ workflows:
- prep-build
# - prep-docs
- all-tests-pass
+ - coveralls-upload:
+ requires:
+ - test-unit
jobs:
create_release_pull_request:
@@ -303,6 +306,17 @@ jobs:
name: All Tests Passed
command: echo 'weew - everything passed!'
+ coveralls-upload:
+ docker:
+ - image: circleci/node:10.16-browsers
+ steps:
+ - checkout
+ - attach_workspace:
+ at: .
+ - run:
+ name: Coveralls upload
+ command: yarn test:coveralls-upload
+
create_github_release:
docker:
- image: circleci/node:8.15.1-browsers
diff --git a/package.json b/package.json
index 22e94e3b9..44505d0f3 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,7 @@
"test:web3:chrome": "SELENIUM_BROWSER=chrome test/e2e/run-web3.sh",
"test:web3:firefox": "SELENIUM_BROWSER=firefox test/e2e/run-web3.sh",
"test:e2e:firefox": "SELENIUM_BROWSER=firefox test/e2e/run-all.sh",
- "test:coverage": "nyc --reporter=text --reporter=html npm run test:unit && yarn test:coveralls-upload",
+ "test:coverage": "nyc --reporter=text --reporter=html npm run test:unit",
"test:coveralls-upload": "if [ $COVERALLS_REPO_TOKEN ]; then nyc report --reporter=text-lcov | coveralls; fi",
"test:flat": "yarn test:flat:build && karma start test/flat.conf.js",
"test:flat:build": "yarn test:flat:build:ui && yarn test:flat:build:tests && yarn test:flat:build:locales",