Skip to content

Commit

Permalink
Flow: remove support for measuring Flow coverage (graphql#2837)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov authored and yaacovCR committed Apr 11, 2021
1 parent 255b26b commit 2e5d16a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 102 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -137,7 +137,7 @@ jobs:
if: ${{ always() }}
uses: codecov/codecov-action@v1
with:
file: ./coverage/tests/coverage-final.json
file: ./coverage/coverage-final.json
fail_ci_if_error: true

test:
Expand Down
10 changes: 0 additions & 10 deletions .nycflowrc.yml

This file was deleted.

5 changes: 2 additions & 3 deletions .nycrc.yml
Expand Up @@ -4,7 +4,6 @@ include:
exclude:
- 'src/polyfills'
- '**/*-fuzz.js'
- '**/*-benchmark.js'
- '**/*.d.ts'
- 'src/validation/rules/ExecutableDefinitions.js'
- 'src/validation/rules/LoneSchemaDefinition.js'
Expand All @@ -16,8 +15,8 @@ exclude:
- 'src/validation/rules/UniqueOperationTypes.js'
- 'src/utilities/findDeprecatedUsages.js'
clean: true
temp-directory: 'coverage/tests'
report-dir: 'coverage/tests'
temp-directory: 'coverage'
report-dir: 'coverage'
skip-full: true
reporter: [json, html, text]
check-coverage: true
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -36,7 +36,6 @@
"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",
"lint": "eslint --cache .",
"check": "flow check",
"check:cover": "node resources/check-cover.js && nyc report --nycrc-path .nycflowrc.yml",
"testonly": "mocha --full-trace src/**/__tests__/**/*-test.js",
"testonly:cover": "nyc npm run testonly",
"prettier": "prettier --write --list-different .",
Expand Down
87 changes: 0 additions & 87 deletions resources/check-cover.js

This file was deleted.

0 comments on commit 2e5d16a

Please sign in to comment.