Skip to content

covr::coveralls() from github actions? #457

@dblodgett-usgs

Description

@dblodgett-usgs

I consistently get:

 Error in covr::coveralls() : 
  Failed to upload coverage data. Reply by Coveralls: Couldn't find a repository matching this job.

Has anyone been able to get coveralls() working from github actions with this function? Possibly a way to pass parameters to make it work without any code modification? I've not been able to find any examples.

Scanning the code for covr::coveralls(), it appears that it is pretty specific to a travis-ci and possibly jenkins based CI environment. I'm having no luck getting it working and really like to maintain my history in coveralls if that's possible.

It seems like there are two options -- 1) add github-actions logic to covr::coveralls() or 2) write a file that would be compatible with the coveralls action.

I think #442 is more or less calling for (2)?

I'm not versed in LCOV -- how far is the output of this: from being an LCOV file?
https://github.com/r-lib/covr/blob/master/R/coveralls.R#L43

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