Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

Commit

Permalink
try coveralls 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ovlb committed Oct 16, 2018
1 parent ead07b9 commit 4d428f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ jobs:
command: yarn run test:ci
environment:
JEST_JUNIT_OUTPUT: 'reports/junit/js-test-results.xml'
- run:
name: 'JavaScript Linter'
# yarn here makes sure we are using the local jest binary
command: yarn run lint --format junit -o reports/junit/js-lint-results.xml
# - run:
# name: 'JavaScript Linter'
# # yarn here makes sure we are using the local jest binary
# command: yarn run lint --format junit -o reports/junit/js-lint-results.xml
- store_test_results:
path: reports/junit
- store_artifacts:
Expand Down
1 change: 0 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ module.exports = {
testMatch: [
'**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)'
],
reporters: ['default', 'jest-junit'],
collectCoverageFrom: ['src/**/*.(js|vue)', '!src/wrapper.js'],
testURL: 'http://localhost/'
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"build:bundle": "rollup -c --environment BUILD:production",
"lint": "vue-cli-service lint",
"test:unit": "vue-cli-service test:unit",
"test:ci": "yarn run test:unit --ci --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test:ci": "yarn run test:unit --ci --coverage && cat ~/repo/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"version:patch": "npm version patch && npm run build:bundle",
"version:minor": "npm version minor && npm run build:bundle",
"version:major": "npm version major && npm run build:bundle"
Expand Down

0 comments on commit 4d428f0

Please sign in to comment.