Skip to content

Commit

Permalink
fix(test): fix test coverage tool
Browse files Browse the repository at this point in the history
Don't run coverage for non-junit tests
  • Loading branch information
bosschaert committed Sep 7, 2023
1 parent fd23ab4 commit de41c4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ executors:
working_directory: ~/repo

orbs:
codecov: codecov/[email protected]
fastly: adobe/[email protected]

commands:
Expand Down Expand Up @@ -46,7 +47,7 @@ jobs:
- run:
name: Run Build
command: npm run fastly-build

- codecov/upload
- store_test_results:
path: junit

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"fastly-build": "fastly compute build --verbose",
"deploy": "npm run fastly-build && fastly compute deploy -t $HLX_FASTLY_AUTH",
"test": "c8 mocha -i -g 'Post-Deploy'",
"test-postdeploy": "c8 mocha -g 'Post-Deploy'",
"test-postdeploy": "mocha -g 'Post-Deploy'",
"lint": "./node_modules/.bin/eslint .",
"semantic-release": "semantic-release",
"fastly-deploy": "fastly compute deploy"
Expand Down

0 comments on commit de41c4a

Please sign in to comment.