Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flow: remove support for measuring Flow coverage #2837

Merged
merged 1 commit into from Oct 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.