-
Notifications
You must be signed in to change notification settings - Fork 828
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
🤖Add codecov #64
🤖Add codecov #64
Conversation
codecov.yml
Outdated
status: | ||
project: | ||
default: | ||
target: "1%" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean all files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean all files?
Currently, Yes. I think we can use https://docs.codecov.io/docs/flags to set target for individual packages.
I am still working on this PR, will change to "Ready for Review" when it's ready.
codecov.yml
Outdated
project: | ||
default: | ||
target: "1%" | ||
patch: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does it mean to disable code coverage for patch
?
3e91703
to
fa0402f
Compare
Codecov Report
@@ Coverage Diff @@
## master #64 +/- ##
=======================================
Coverage ? 100%
=======================================
Files ? 2
Lines ? 16
Branches ? 0
=======================================
Hits ? 16
Misses ? 0
Partials ? 0 |
@@ -6,8 +6,8 @@ | |||
"types": "build/src/index.d.ts", | |||
"repository": "open-telemetry/opentelemetry-js", | |||
"scripts": { | |||
"test": "nyc ts-mocha -p ./tsconfig.json test/**/*.ts", | |||
"tdd": "yarn run test -- --watch-extensions ts --watch", | |||
"test": "nyc ts-mocha -p tsconfig.json test/**/*.ts", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should attempt to use the built-in v8 coverage reporting in a later revision since it's a lot faster than NYC.
This is still work in progress (Draft), comments are welcome!Fixes #12
Codecov link:
https://codecov.io/gh/open-telemetry/opentelemetry-js/commit/3e91703b4528c55be22c2f001b2c957456b23ce9