Closed aduh95 closed 1 year ago
Probably related to https://github.com/nodejs/node/pull/46674
Probably related to https://github.com/nodejs/node/pull/46674
I am pretty sure it is since node 16 is lacking many features of the test runner, the mentioned PR simply adds the coverage to the output, it does not solve a bug
I was able to run on all three node versions in my branch: https://github.com/aduh95/node-core-utils/compare/node--test...MoLow:node-core-utils:node--test the main 2 issues that are not supported on node 16 are https://github.com/nodejs/node/pull/45055 https://github.com/nodejs/node/pull/45161
@aduh95 the tests pass but coverage can only be collected on node >= 18
I think it might be a fair mitigation to run tests without coverage on node 16
It looks like there are a few test failures on v18.x and v19.x though
yeah since node --test
now runs files inside test/fixtures
, I think running test-unit
would have the same outcome as running test-all
had before, unless I am missing something
@aduh95 this should work: https://github.com/aduh95/node-core-utils/commit/d7ea450b4f5612d5508920aee953960602481977
Patch coverage has no change and project coverage change: +0.04
:tada:
Comparison is base (
1ad864e
) 83.40% compared to head (b6e8de8
) 83.45%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
For some reason, CI picks up v18.15.0 only on Windows 🤔
@aduh95 seems like actions/setup-node@v3
should have check-latest: true
@aduh95 this requires amending the commit message(s)
No it doesn't, the title of the PR (which is what GitHub uses as the default commit message) is complying with Conventional Commit spec.
so this check should be fixed to only look at the PR name? https://github.com/nodejs/node-core-utils/actions/runs/4430791079/jobs/7772963001?pr=670
The issue is that some PR are being "Rebase and merge"d, in which case it makes sense to check every commits.
Segmentation fault (core dumped)
Interesting.