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

INTERNALERROR: coverage.exceptions.DataError: Can't combine line data with arc data in pytest workflow #167

Closed
blakeNaccarato opened this issue Feb 26, 2024 · 2 comments

Comments

@blakeNaccarato
Copy link
Member

blakeNaccarato commented Feb 26, 2024

Looks like what I thought was failing the pytest workflow, an issue with PluggyTeardownRaisedWarning #166, is not actually the issue. Instead, it seems to be the coincident error INTERNALERROR: coverage.exceptions.DataError: Can't combine line data with arc data (see log, a link that will expire eventually), which seems related to coverage, probably because I'm running pytest --cov in CI, but not locally. See pytest-dev/pytest-cov#243 (comment), which points to pytest-dev/pytest-cov#237 (comment), suggesting the following setup.cfg

[coverage:run]
parallel = true

From the Coverage docs, that can be equivalently encoded in pyproject.toml , then combined.

@blakeNaccarato
Copy link
Member Author

Just added a commit enabling parallel. However, this suggests that pytest --cov (as is run in CI) overrides the parallel coverage setting, so could it be something else? This outstanding issue recommends setting config as well.

blakeNaccarato added a commit that referenced this issue Feb 26, 2024
@blakeNaccarato
Copy link
Member Author

After actually setting the config file properly in 7565276, this is fixed. I will add a comment about the fix in a follow-up commit.

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