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

Add support to python coverage reporting #13

Open
timonwong opened this issue Jul 25, 2018 · 2 comments
Open

Add support to python coverage reporting #13

timonwong opened this issue Jul 25, 2018 · 2 comments

Comments

@timonwong
Copy link

Python coverage is a bit different here:
Python package file __init__.py can be empty, so upon submit, opencov cannot process the following coverage data correctly:

{
            "source": "",
            "name": "pkg/xxx/__init__.py",
            "coverage": [
                null
            ]
}
@timonwong timonwong changed the title Add support to python Add support to python coverage reporting Jul 25, 2018
@danhper
Copy link
Owner

danhper commented Aug 24, 2018

Hi thanks for reporting.
I do not have time to fix this right now, but I would be very happy to merge a PR.
Thank you.

@vinigfer
Copy link

@timonwong How do you configured your python project to send the report?

I did it like this:

export COVERALLS_HOST="http://localhost:4000"
export COVERALLS_REPO_TOKEN=Nk1Vck5aMnRXdlB4amFwVkplVi9Sd2JDTml2YU1CMzhib29TOEVKVQ==
coveralls

But only got a lot of "No source for ..." messages and a "Reporting 0 files" at the end.

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

3 participants