Skip to content

Commit 030143f

Browse files
IvanGoncharovsaihaj
authored andcommitted
Flow: remove support for measuring Flow coverage (graphql#2837)
1 parent 6c42309 commit 030143f

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,11 +4,10 @@ include:
44
exclude:
55
- 'src/polyfills'
66
- '**/*-fuzz.js'
7-
- '**/*-benchmark.js'
87
- '**/*.d.ts'
98
clean: true
10-
temp-directory: 'coverage/tests'
11-
report-dir: 'coverage/tests'
9+
temp-directory: 'coverage'
10+
report-dir: 'coverage'
1211
skip-full: true
1312
reporter: [json, html, text]
1413
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)