Skip to content

Commit

Permalink
test(circleci): add coverage to artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
xinbenlv committed Jan 8, 2021
1 parent 82ee12d commit d9e2756
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ jobs:
path: reports/jest
- store_artifacts:
path: reports
- run:
name: Run integration test
command: yarn test:integration
environment:
JEST_JUNIT_OUTPUT: "reports/jest/integration/results.xml"
- store_artifacts:
path: coverage
chromatic-deployment:
docker:
- image: circleci/node:12.19.1
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"start": "npm run dev",
"test:integration": "jest --testPathIgnorePatterns=THIS_SHALL_NEVER_MATCH_ANYTHING --testPathPattern=integration --verbose",
"test:full": "jest --testPathIgnorePatterns=THIS_SHALL_NEVER_MATCH_ANYTHING --verbose",
"test:report": "jest --ci",
"test:report": "jest --testPathIgnorePatterns=THIS_SHALL_NEVER_MATCH_ANYTHING --verbose --coverage --ci",
"test": "jest --verbose --bail",
"chromatic": "chromatic --project-token=${CHROMATIC_PROJECT_TOKEN}"
},
Expand Down

0 comments on commit d9e2756

Please sign in to comment.