Skip to content

Code coverage reports are broken #436

@seisman

Description

@seisman

Description of the problem

The code coverage reports failed to work recently. See https://codecov.io/gh/GenericMappingTools/pygmt/pulls for recent reports.

The CI reports the following errors:

+ codecov -e PYTHON AGENT_OS
Uploading coverage to Codecov
find: -not -path './bower_components/**' -not -path './node_modules/**' -not -path './vendor/**': unknown primary or operator

      _____          _
     / ____|        | |
    | |     ___   __| | ___  ___ _____   __
    | |    / _ \ / _  |/ _ \/ __/ _ \ \ / /
    | |___| (_) | (_| |  __/ (_| (_) \ V /
     \_____\___/ \____|\___|\___\___/ \_/
                                    v2.0.20

==> Detecting CI provider
  -> Got branch from git/hg
  -> Got sha from git/hg
==> Preparing upload
==> Processing gcov (disable by -X gcov)
    Executing gcov (['find', '/Users/runner/runners/2.168.2/work/1/s', "-not -path './bower_components/**' -not -path './node_modules/**' -not -path './vendor/**'", '-type', 'f', '-name', '*.gcno', '', '-exec', 'gcov', '-pb', '', '{}', '+'])
    Error running `['find', '/Users/runner/runners/2.168.2/work/1/s', "-not -path './bower_components/**' -not -path './node_modules/**' -not -path './vendor/**'", '-type', 'f', '-name', '*.gcno', '', '-exec', 'gcov', '-pb', '', '{}', '+']`: Command '['find', '/Users/runner/runners/2.168.2/work/1/s', "-not -path './bower_components/**' -not -path './node_modules/**' -not -path './vendor/**'", '-type', 'f', '-name', '*.gcno', '', '-exec', 'gcov', '-pb', '', '{}', '+']' returned non-zero exit status 1.
==> Collecting reports
    + /Users/runner/runners/2.168.2/work/1/s/coverage.xml bytes=39890
==> Appending environment variables
    + PYTHON
    + AGENT_OS
==> Uploading
    .url https://codecov.io
    .query commit=9f52c71854c719b33b774deb6b17648f677153e8&branch=HEAD&token=<secret>&yaml=.codecov.yml&package=py2.0.20
    Pinging Codecov...
Error: HTTP 400
Provided token is not a UUID.

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintenanceBoring but important stuff for the core devs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions