Skip to content

Add coverage processing for new Node test runner #107

@thomasrockhu-codecov

Description

@thomasrockhu-codecov

What product do you want to improve?
I wonder if it's possible to use codecov with the node's new test runner: https://nodejs.org/api/test.html#collecting-code-coverage

I've tried following:

nyc --reporter=lcov node --test --experimental-test-coverage

— but nyc doesn't seem to pick anything.

Running just node --test --experimental-test-coverage works locally, though.

Here is the full yml script I'm trying to make work: https://github.com/Elringus/DotNetJS/blob/feat/revamp/.github/workflows/cover.yml (tests are here: https://github.com/Elringus/DotNetJS/tree/feat/revamp/JavaScript).

--- Tom ---
This may be due to configuration with nyc and not with Codecov at all.

Is your feature request related to a problem? Please describe.
The current problem is that Codecov does not properly ingest this coverage report

Describe the solution you'd like
Codecov ingests the new coverage report format

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
This is pulled from a community board post.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions