mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Make Coveralls its own optional CI job (#7002)
* ci: Move Coveralls into optional step * Split Coveralls step out of test:coverage npm script
This commit is contained in:
parent
e321feb92d
commit
6bc1077880
@ -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
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user