Skip to content

CI is broken for Coveralls #52

@plowman

Description

@plowman

Repro Steps

  1. Create a PR
  2. The tests run nicely in each environment
  3. But suddenly, something goes wrong...

Expected Behavior

The tests, coveralls, etc. should all pass.

Actual Behavior

Coveralls does not pass

Error Messages/Stack Trace

You can see an example failure here.

Not on TravisCI. You have to provide either repo_token in .coveralls.yml or set the COVERALLS_REPO_TOKEN env var.
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.6.10/x64/lib/python3.6/site-packages/coveralls/cli.py", line 61, in main
    service_name=options['--service'])
  File "/opt/hostedtoolcache/Python/3.6.10/x64/lib/python3.6/site-packages/coveralls/api.py", line 58, in __init__
    self.ensure_token()
  File "/opt/hostedtoolcache/Python/3.6.10/x64/lib/python3.6/site-packages/coveralls/api.py", line 67, in ensure_token
    self.config_filename))
coveralls.exception.CoverallsException: Not on TravisCI. You have to provide either repo_token in .coveralls.yml or set the COVERALLS_REPO_TOKEN env var.
##[error]Process completed with exit code 1.

Additional Context

  • The probably fix here is to create a Github encrypted secret to match the COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} line in test.yml
  • This is blocking the tests from passing on Remove deprecated werkzeug import #35.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingci/cdContinuous Integration and Continuous Delivery tasks

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions