ci: add macos to pipeline#4307
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4307 +/- ##
=======================================
Coverage 98.44% 98.44%
=======================================
Files 205 205
Lines 7316 7316
Branches 2084 2084
=======================================
Hits 7202 7202
Misses 55 55
Partials 59 59 Continue to review full report at Codecov.
|
|
Thanks. Note to @lukastaegert: PR #4308 should be merged before PR #4307. |
.github/workflows/tests.yml
Outdated
| runs-on: macos-latest | ||
| strategy: | ||
| matrix: | ||
| node: ['10', '12', '14', '16', '17'] |
There was a problem hiding this comment.
Are you really sure we need all those versions? Not sure in how far this uses up contingents we get from Github, but also, what bugs do you expect to find here except make CI runs potentially slower? IMO it should be enough to do all relevant versions for the fastest OS (which is Linux on CI), which should handle the subtle version differences, and only do the oldest supported and latest supported for MacOS and Windows.
There was a problem hiding this comment.
not sure what the GH actions usage limit for OSS is actually. but as far as I know, modules are usually tested against the latest LTS versions on multiple operating systems. but it's all up to the developer to decide.
testing the earliest supported LTS and the latest supported LTS plus latest version is probably fine tho.
since it's free, and just some settings, I'd personally go for all. it might not apply to rollup (or it might), but there are sometimes some small intricacies between node versions.
|
When testing against 48f0e31, node v10.x does not run My personal preference would be to run the latest stable node v16 on Mac rather than the unstable node v17, as more users use the former. |
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
Description
ref: #4300