Skip to content

CI: coverage combining is broken #416

Description

@neutrinoceros

Been seeing this error consistently lately

Error: No .coverage file was found in the root directory, this is now a requirement for uploading coverage to Codecov. See the documentation for more information: https://github-actions-workflows.openastronomy.org/en/stable/tox.html#coverage
No data to report.
Error: Process completed with exit code 1.

this was previously reported at #406 (comment), but the suggested patch, included in #397, clearly doesn't fix it by itself.

I already tried a couple approaches to address this:

none of it worked, which means I don't currently understand the problem. My working hypothesis was that pytest-cov didn't play nicely with recent versions of coverage (specifically 7.14.0 and later), because combination is now implied by reporting commands, and combined files are implicitly deleted by default.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions