This repository was archived by the owner on Feb 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 146
Codecov report generation using ava-nyc #148
Closed
Closed
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
6eed952
Codecov report generation using ava-nyc
suphalb e3d4834
readme.md update
suphalb a21ac9c
Merge branch 'master' of https://github.com/segmentio/analytics-node
suphalb 33ea5df
readme file update
suphalb 2f01d4f
readme file update
suphalb 1764f89
codecov circleci integration
suphalb 020955c
Upstream Update
suphalb 01caa9c
circleci config file update
suphalb 2f1c798
CircleCI integration config update
suphalb 94924b6
CircleCI config adjustments
suphalb 764b633
review corrections
suphalb 415c5c0
review & CI build corrections
suphalb da475b6
CI build fix
suphalb b0b7874
ConfigCI fix
suphalb 877a3f0
indention fix
suphalb fb1babf
readme file revert for space fix etc
suphalb d80ee3b
some mistake fixes
suphalb c3da3a3
CI yml line formatting
suphalb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,4 @@ | ||
| node_modules | ||
| node_modules | ||
| coverage | ||
| .nyc_output | ||
| coverage.lcov | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,10 +23,11 @@ | |
| ], | ||
| "scripts": { | ||
| "size": "size-limit", | ||
| "test": "standard && ava", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't remove the
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Rectified. |
||
| "testci": "standard && ava && npm run size", | ||
| "test": "standard && nyc ava --tap", | ||
| "testci": "standard && nyc ava --tap && npm run size", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's |
||
| "prepublish": "npm run check-deps", | ||
| "check-deps": "nsp check" | ||
| "check-deps": "nsp check", | ||
| "report-coverage": "nyc report --reporter=lcov > coverage.lcov && codecov" | ||
| }, | ||
| "files": [ | ||
| "index.js", | ||
|
|
@@ -55,9 +56,11 @@ | |
| "ava": "^0.24.0", | ||
| "basic-auth": "^2.0.0", | ||
| "body-parser": "^1.17.1", | ||
| "codecov": "^3.0.0", | ||
| "delay": "^2.0.0", | ||
| "express": "^4.15.2", | ||
| "nsp": "^3.1.0", | ||
| "nyc": "^11.4.1", | ||
| "pify": "^3.0.0", | ||
| "sinon": "^4.1.3", | ||
| "standard": "^10.0.3", | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
No need to ignore
coverage.lcov, if you're piping output fromnyctocoveralls, like I mentioned in the comment below.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.
Ok so you mean i should push all of those dir/files with all my local reports & meta data i used for my local test bed? Should not they be ignored like
npm rebuildas they will be created always while codecov report generation and uploading via nyc process will be running? Please suggest.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.
I was talking only about
coverage.lcov. But since I was thinking about coveralls and piping output before, it can stay there.