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

🤖Add codecov #64

Merged
merged 2 commits into from
Jul 2, 2019
Merged

🤖Add codecov #64

merged 2 commits into from
Jul 2, 2019

Conversation

mayurkale22
Copy link
Member

@mayurkale22 mayurkale22 commented Jun 27, 2019

This is still work in progress (Draft), comments are welcome!

Fixes #12

Codecov link:
https://codecov.io/gh/open-telemetry/opentelemetry-js/commit/3e91703b4528c55be22c2f001b2c957456b23ce9

codecov.yml Outdated
status:
project:
default:
target: "1%"
Copy link
Contributor

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?

Copy link
Member Author

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:
Copy link
Contributor

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?

@mayurkale22 mayurkale22 added this to the Configs milestone Jun 27, 2019
@mayurkale22 mayurkale22 force-pushed the codecov branch 12 times, most recently from 3e91703 to fa0402f Compare June 27, 2019 22:51
@open-telemetry open-telemetry deleted a comment from codecov-io Jun 27, 2019
@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@9a56922). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             master    #64   +/-   ##
=======================================
  Coverage          ?   100%           
=======================================
  Files             ?      2           
  Lines             ?     16           
  Branches          ?      0           
=======================================
  Hits              ?     16           
  Misses            ?      0           
  Partials          ?      0

@mayurkale22 mayurkale22 marked this pull request as ready for review June 27, 2019 22:58
@mayurkale22 mayurkale22 requested review from bg451 and rochdev June 27, 2019 22:58
@@ -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",
Copy link
Member

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.

@mayurkale22 mayurkale22 changed the title Add codecov 🤖Add codecov Jun 28, 2019
@mayurkale22 mayurkale22 merged commit c3c888a into open-telemetry:master Jul 2, 2019
@mayurkale22 mayurkale22 deleted the codecov branch July 2, 2019 16:21
dyladan added a commit to dyladan/opentelemetry-js that referenced this pull request Sep 9, 2022
dyladan added a commit to dyladan/opentelemetry-js that referenced this pull request Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable code coverage
5 participants