Not working on Mac OS
aburrell opened this issue · 5 comments
aburrell commented
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.