-
Notifications
You must be signed in to change notification settings - Fork 114
Pipe - cleaned up and merged with master #92
Conversation
…he readable event
…ore data is flowing - switch to use --pipe or -l as signal to codecov to recieve data via stdin
Codecov Report
@@ Coverage Diff @@
## master #92 +/- ##
==========================================
+ Coverage 87.88% 88.01% +0.12%
==========================================
Files 18 18
Lines 289 292 +3
Branches 69 70 +1
==========================================
+ Hits 254 257 +3
Misses 35 35
Continue to review full report at Codecov.
|
Seems like the codecov/patch check is not working. The code coverage is going up but the target is not hit. Maybe a configuration mistake? There is something else wrong with the tests - not mine, but in general. |
@eddiemoore it would be nice to see some signals from your guys, so this PR is not just closed as #30 was. |
@dotnetCarpenter yeah sorry I'm a maintainer and not full time codecov staff. Haven't had much time to work on it for quite a while.
yeah I notice this too. Most of the tests were written a long time ago. Not exactly sure why it's like that. Code looks ok to me. Just need to fix the merge conflicts |
@eddiemoore I will take a look whenever I get time. Would it be possible to have all tests pass before I merge in from master again? There will probably be some conflicts and as long as the tests are failing I can not be sure I am not the cause of it.. |
Currently two tests are failing on
|
@dotnetCarpenter can you pull the latest changes? All tests passing fine on local now for me. |
@eddiemoore The main issue was that it the tests are passing locally but not in travis. |
@eddiemoore Looks good! Please check the documentation - seem that I mixed the |
README.md
Outdated
@@ -36,6 +36,8 @@ Repo tokens are necessary to distinguish your repository from others. You can fi | |||
export CODECOV_TOKEN=":uuid-repo-token" | |||
# or | |||
./node_modules/.bin/codecov --token=:token | |||
# or | |||
nyc report --reporter=text-lcov | ./node_modules/.bin/codecov --pipe |
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.
Should be:
./node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/codecov --pipe
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.
👍
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.
Hmm.. that is correct if you invoke codecov from the terminal. But if you set it in package.json
script section, then you should not specify the path. But since all of the examples are written as invoked from the terminal, I will change it.
@dotnetCarpenter just need to fix the merge conflicts and update the docs as @sindresorhus pointed out. |
Codecov Report
@@ Coverage Diff @@
## master #92 +/- ##
=========================================
Coverage ? 88.01%
=========================================
Files ? 18
Lines ? 292
Branches ? 70
=========================================
Hits ? 257
Misses ? 35
Partials ? 0
Continue to review full report at Codecov.
|
@eddiemoore I'm getting 166 eslint errors when I run The offending files are I feel I've spend the majority of time with this PR, fixing merge conflicts and errors in tests. It's been a long time since I've used codecov and do not have a professional interest in this patch anymore. Can you please resolve what remains? |
Support for piped coverage reports via
--pipe
or-l
parameter to codecov.See previous #30 PR, which had an issue with timeouts on slow CI. This PR uses parameters instead of a timer, so this should not be an issue.