Comments (4)
I'm not familiar with this kind of coverage files.
If anyone is willing to submit a patch with tests, I'll merge it right away.
from coveralls-python.
I don't know what version of coverage this was, but I think this issue is stale at this point. Coverage 3.x and 4.x both create .coverage files.
from coveralls-python.
@jessamynsmith good point.
Closing this. Feel free to reopen, if one provides a case when we need to parse more files than we do now.
from coveralls-python.
I think this occurs when coverage is called with the -p
option - that will create coverage files with unique suffixes so you can combine them later (see coverage docs).
Perhaps I was missing something obvious, but I ran into this when trying to have tox locally combine coverage across multiple environments (using coverage 4.0a5), but still wanting coveralls to find them all when run on travis ci. I found though that you can achieve the same thing by removing the -p
option and manually specifying the suffix with an env var in the tox base environment:
[testenv]
setenv = COVERAGE_FILE=.coverage.{envname}
...
Because coveralls uses coverage to find the file, as long as it's run in the same env that generates the coverage report, it will also respect the env var and find the file in a travis instance. When run locally, the coverage files will still have unique names, so can be combined later with coverage combine
. For a more detailed example, my working tox.ini
is here.
Since this issue has so little activity, either I'm doing something wrong, or this seems to be fairly uncommon usage - either way it doesn't seem worth reopening and modifying code, but perhaps this comment will help others.
from coveralls-python.
Related Issues (20)
- 3.2.0: pytest is failing with `pytest-randomly` plugin HOT 5
- Coverage 6.0 moved `coverage.misc.NoSource` to `coverage.exceptions.NoSource` HOT 3
- [enhancement] Consider binding coverage version
- __init__() missing 1 required positional argument: 'name' with ``coverage ~= 6.1`` HOT 7
- Stricter Versioning For Coverage HOT 1
- Connectivity exception not handled HOT 2
- ImportError: cannot import name 'Reporter' from 'coverage.report' HOT 2
- Add python-coveralls entrypoint HOT 1
- Support for appended .coverage data files? HOT 1
- Errors running with coverage[toml] HOT 1
- ModuleNotFoundError: No module named 'setuptools.command.build' HOT 1
- Support coverage 7.0 HOT 4
- coveralls workflow fails on Python 3.5 and 3.6 with ubuntu-latest HOT 4
- Tox test on Python 3.6 fails with assertion error HOT 1
- 3.3.1: pytest is failing in units which are uning `coverage.files` module (with `coverage` 7.0.1) HOT 3
- feature request: carryforward flags HOT 1
- Parallel builds in Codebuild HOT 1
- coveralls 2.2.0 fails with KeyError: 'service_job_id' HOT 1
- 500 Server Error HOT 5
- coveralls-python maintenance status HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coveralls-python.