-
Notifications
You must be signed in to change notification settings - Fork 664
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 reporting back after a 3 year hiatus #1788
Conversation
…cli-hooks dev deps
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1788 +/- ##
==========================================
- Coverage 94.41% 88.58% -5.84%
==========================================
Files 12 18 +6
Lines 806 6148 +5342
Branches 178 297 +119
==========================================
+ Hits 761 5446 +4685
- Misses 15 690 +675
+ Partials 30 12 -18
Flags with carried forward coverage won't be shown. Click here to find out 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.
This is great! Excited to see coverage returning. Hi @codecov! 😄 🚀
This all seems to work well and the one question I had was answered in the code, so "LGTM" ✅
@@ -32,15 +32,28 @@ jobs: | |||
- name: Get Development Dependencies | |||
run: npm i | |||
- name: Build and Run Tests in Each Package | |||
working-directory: ${{ matrix.package }} | |||
working-directory: packages/${{ matrix.package }} |
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.
🧠💡
flags: ${{ matrix.package }} | ||
verbose: true |
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.
These flags
are neat!
comment: | ||
layout: "condensed_header, diff, flags" |
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.
👏
@@ -65,6 +65,7 @@ | |||
"eslint-plugin-node": "^11.1.0", | |||
"mocha": "^10.2.0", | |||
"shx": "^0.3.4", | |||
"sinon": "^17.0.1" | |||
"sinon": "^17.0.1", | |||
"typescript": "5.4.5" |
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.
🙌 thanks!
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.
Farewell, lerna.json
🫡
This should bring codecov reporting back in for node-slack-sdk; woot!
nyc
as the coverage tool, replaced withc8
, it hasn't been updated in 4 years andc8
is essentially a drop-in replacement and maintained. Hat tip to @zimeg as I just followed their lead in thepackages/cli-hooks
sub-package.