Comments (8)
I may have answered my own question by using this boilerplate https://gist.github.com/ssokolow/5496286
from coveralls-python.
I'm glad you've figured out how to work around this bug. I've not tested nose or py.test coverage plugins, I guess they behave slightly differently than simple coverage.py, that's why the difference. I'll keep this open until I find decent solution or document this workaround in docs.
from coveralls-python.
Could you confirm that how coveralls works is to pick up the generated .coverage report and parse it into readable report?
from coveralls-python.
Nope, it generates custom report based on .coverage data + source files.
from coveralls-python.
Ah I see. Does coveralls fully respect .coveragerc
config file? If not then that might explain the behavior.
from coveralls-python.
Should coveralls know anything about .coveragerc
? I think it's enough coverage.py itself takes this file into account when generating .coverage file. However, the [report]
section is ignored most definatley, as I'm using custom reported... I'll look inot that, thnx.
from coveralls-python.
I believe that by parsing .coveragerc
, especially by looking at both [run]
and [report]
sections of inclusion/exclusion patterns, coveralls
would save a lot of time going through the unintended source files, hence improves on submission size/time and makes the overall experience as compatible to local coverage.py
behavior as possible without digging too much into py.test
and/or nose
coverage plugin's behavior.
from coveralls-python.
Turns out, I was not correct in my previous comments. Coveralls does honor .coveragerc
config. It's nose, which does not (at least, for source
options). I've documented your workaround, thnx.
from coveralls-python.
Related Issues (20)
- 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
- Not working anymore with python-coverage version 7 or newer HOT 1
- Migrate entirely to public `coverage` interface HOT 1
- Test out issue templates
- test
- `422 Client Error: Unprocessable Entity for url: https://coveralls.io/api/v1/jobs` for `coveralls==4.0.0` HOT 3
- coverage.exceptions.NoSource for temporary files since 4.0.0 HOT 2
- 4.0.0: pytest fails in multiple units with `'Analysis' object has no attribute 'file_reporter'` error HOT 13
- Upper limits are incorrect in requires-python
- `poetry run pytest` raises `SyntaxError: invalid escape sequence \S`
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.