Skip to content

Please create a coverage file, many PRs failed because of this. #19931

@SeasonPanPan

Description

@SeasonPanPan

Search before asking

  • I searched in the issues and found nothing similar.

Example failure

https://github.com/apache/pulsar/actions/runs/4507586495/jobs/7968960455?pr=19906

Exception stacktrace

  Codecov report uploader 0.4.0
[2023-03-26T14:20:49.486Z] ['info'] => Project root located at: /home/runner/work/pulsar/pulsar
[2023-03-26T14:20:49.490Z] ['info'] -> No token specified or token is empty
[2023-03-26T14:20:49.490Z] ['verbose'] Start of network processing...
[2023-03-26T14:20:49.491Z] ['verbose'] Searching for files in /home/runner/work/pulsar/pulsar
[2023-03-26T14:20:49.503Z] ['verbose'] coveragepy is not installed
[2023-03-26T14:20:49.503Z] ['info'] Searching for coverage files...
[2023-03-26T14:20:49.976Z] ['info'] Warning: Some files located via search were excluded from upload.
[2023-03-26T14:20:49.977Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
**[2023-03-26T14:20:49.977Z] ['error'] There was an error running the uploader: No coverage files located, please try use `-f`, or change the project root with `-R`**
[2023-03-26T14:20:49.978Z] ['verbose'] The error stack is: Error: No coverage files located, please try use `-f`, or change the project root with `-R`
    at main (/snapshot/repo/dist/src/index.js)
[2023-03-26T14:20:49.978Z] ['verbose'] End of uploader: 501 milliseconds
Error: Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255

image

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions