Skip to content

Commit

Permalink
Reinstate codecov (#2780)
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-scheer authored Sep 14, 2023
1 parent a26975a commit 4fd562b
Show file tree
Hide file tree
Showing 5 changed files with 128 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- run:
name: Run tests
command: npm run test:ci
- run:
name: Upload coverage
command: npm run coverage:upload
- store_test_results:
path: junit.xml

Expand Down
1 change: 1 addition & 0 deletions .cspell/cspell-dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ caes
cand
Childs
childs
codecov
compabitle
compatbility
Compatiblity
Expand Down
8 changes: 8 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
coverage:
status:
project:
default:
threshold: 1%
patch:
default:
target: 0%
112 changes: 112 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"test:clean": "jest --clearCache",
"test:watch": "jest --verbose --watchAll",
"testonly": "npm test",
"test:ci": "npm test -- --ci --maxWorkers=2 --reporters=default --reporters=jest-junit",
"test:ci": "npm run coverage -- --ci --maxWorkers=2 --reporters=default --reporters=jest-junit",
"coverage": "npm test -- --coverage",
"coverage:upload": "codecov",
"codegen": "graphql-codegen --config codegen.yml",
"codegen:check": "npm run codegen && git diff --exit-code",
"lint": "eslint . --ext .ts",
Expand Down Expand Up @@ -67,6 +69,7 @@
"@types/uuid": "9.0.3",
"@typescript-eslint/eslint-plugin": "5.62.0",
"bunyan": "1.8.15",
"codecov": "3.8.3",
"cspell": "6.31.3",
"graphql": "16.8.0",
"graphql-http": "1.22.0",
Expand Down

0 comments on commit 4fd562b

Please sign in to comment.