Skip to content

Commit a5b95f0

Browse files
Flow: remove support for measuring Flow coverage (#2837)
1 parent 49e32ba commit a5b95f0

File tree

5 files changed

+3
-102
lines changed

5 files changed

+3
-102
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
if: ${{ always() }}
138138
uses: codecov/codecov-action@v1
139139
with:
140-
file: ./coverage/tests/coverage-final.json
140+
file: ./coverage/coverage-final.json
141141
fail_ci_if_error: true
142142

143143
test:

.nycflowrc.yml

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

.nycrc.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ include:
44
exclude:
55
- 'src/polyfills'
66
- '**/*-fuzz.js'
7-
- '**/*-benchmark.js'
87
- '**/*.d.ts'
98
- 'src/validation/rules/ExecutableDefinitions.js'
109
- 'src/validation/rules/LoneSchemaDefinition.js'
@@ -16,8 +15,8 @@ exclude:
1615
- 'src/validation/rules/UniqueOperationTypes.js'
1716
- 'src/utilities/findDeprecatedUsages.js'
1817
clean: true
19-
temp-directory: 'coverage/tests'
20-
report-dir: 'coverage/tests'
18+
temp-directory: 'coverage'
19+
report-dir: 'coverage'
2120
skip-full: true
2221
reporter: [json, html, text]
2322
check-coverage: true

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"test": "npm run lint && npm run check && npm run testonly && npm run prettier:check && npm run check:spelling && npm run build:npm && npm run build:deno && npm run check:integrations",
3737
"lint": "eslint --cache .",
3838
"check": "flow check",
39-
"check:cover": "node resources/check-cover.js && nyc report --nycrc-path .nycflowrc.yml",
4039
"testonly": "mocha --full-trace src/**/__tests__/**/*-test.js",
4140
"testonly:cover": "nyc npm run testonly",
4241
"prettier": "prettier --write --list-different .",

resources/check-cover.js

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

0 commit comments

Comments
 (0)