Skip to content

Commit 29c5985

Browse files
author
Dane Pilcher
authored
ci: add coverage reports (#762)
1 parent 0570e9d commit 29c5985

File tree

7 files changed

+10
-12
lines changed

7 files changed

+10
-12
lines changed

.codebuild/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@ phases:
1010
artifacts:
1111
files:
1212
- 'shared-scripts.sh'
13+
reports:
14+
coverage-report:
15+
files:
16+
- 'packages/*/coverage/clover.xml'
17+
file-format: 'CLOVERXML'

codecov.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

packages/amplify-codegen/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"lines": 72
5252
}
5353
},
54+
"coverageReporters": ["clover", "text"],
5455
"testURL": "http://localhost",
5556
"testRegex": "((\\.|/)(test|spec))\\.(jsx?|tsx?)$",
5657
"moduleFileExtensions": [

packages/appsync-modelgen-plugin/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"lines": 80
7373
}
7474
},
75+
"coverageReporters": ["clover", "text"],
7576
"testRegex": "(src/__tests__/.*.test.ts)$",
7677
"globals": {
7778
"ts-jest": {

packages/graphql-docs-generator/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"lines": 80
6161
}
6262
},
63+
"coverageReporters": ["clover", "text"],
6364
"moduleFileExtensions": [
6465
"ts",
6566
"tsx",

packages/graphql-generator/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"lines": 90
5858
}
5959
},
60+
"coverageReporters": ["clover", "text"],
6061
"testRegex": "(src/__tests__/.*.test.ts)$",
6162
"globals": {
6263
"ts-jest": {

packages/graphql-types-generator/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
"lines": 80
8282
}
8383
},
84+
"coverageReporters": ["clover", "text"],
8485
"testURL": "http://localhost",
8586
"setupFilesAfterEnv": [
8687
"<rootDir>/test/test-utils/matchers.ts"

0 commit comments

Comments
 (0)