Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on Mac OS #202

Open
aburrell opened this issue Apr 3, 2024 · 0 comments
Open

Not working on Mac OS #202

aburrell opened this issue Apr 3, 2024 · 0 comments

Comments

@aburrell
Copy link

aburrell commented Apr 3, 2024

I tried to use this with my project (ocbpy) and it failed for mac OS with the following error:

Run coverallsapp/github-action@v2
Run brew tap coverallsapp/coveralls --quiet
==> Fetching dependencies for coverallsapp/coveralls/coveralls: bdw-gc
==> Fetching bdw-gc
==> Fetching coverallsapp/coveralls/coveralls
==> Installing coveralls from coverallsapp/coveralls
==> Installing dependencies for coverallsapp/coveralls/coveralls: bdw-gc
==> Installing coverallsapp/coveralls/coveralls dependency: bdw-gc
🍺  /usr/local/Cellar/bdw-gc/8.2.6: 73 files, 1.6MB
==> Installing coverallsapp/coveralls/coveralls
🍺  /usr/local/Cellar/coveralls/0.6.6: 5 files, 1.2MB
Run coveralls report        
Traceback (most recent call last):
  File "/Users/runner/hostedtoolcache/Python/3.8.18/x64/bin/coveralls", line 5, in <module>
    from coveralls.cli import main
  File "/Users/runner/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/coveralls/__init__.py", line 2, in <module>
    from .api import Coveralls
  File "/Users/runner/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/coveralls/api.py", line 13, in <module>
    from .reporter import CoverallReporter
  File "/Users/runner/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/coveralls/reporter.py", line 10, in <module>
    from coverage.report import Reporter
ImportError: cannot import name 'Reporter' from 'coverage.report' (/Users/runner/hostedtoolcache/Python/3.8.18/x[64](https://github.com/aburrell/ocbpy/actions/runs/8482430217/job/23242927874#step:10:67)/lib/python3.8/site-packages/coverage/report.py)
Error: Process completed with exit code 1.

When I use coveralls-reporter, I do not encounter any problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant