Comments (4)
That makes sense. I'm aware of the third-party approached to coverage reporting. They provide some nice additional features, but it's also an additional technology to maintain. I'm open to it, but let's have that discussion about what we want after closing out the current issue?
from scores.
@John-Sharples I fixed the no coverage collected issue in #87. It had to do with requiring an editable install as pytest-cov
points to the local repo files instead of the installation files in /usr/bin
or venv
. Somehow coverage
manages this case where `pytest-cov doesn't.
As for badges, I had a look at how to implement badges in actions and it is such a stuff around compared to gitlab that I don't even want to try 😄.
As for this I think we could close this issue since pre-commit and tests have been implemented in the develop
pipeline already.
from scores.
Looks like a great start, but where does the coverage report end up? I couldn't work out how to actually put the output report somewhere in a nicely viewable way. It's worthwhile regardless, but it would be ncie to have easily viewable results
from scores.
These changes just get the coverage working. Currently pytest raises this warning CoverageWarning: No data was collected. (no-data-collected)
and there's no coverage reported. I've added an extra task to specifically report coverage in the job output, so you can click through and find it there.
If we want to adopt a third party tool to make it a bit more visible, there's several options, eg:
- coverage-badges https://github.com/jaywcjlove/coverage-badges-cli
- metplus uses
coverall
which gives an output like this https://coveralls.io/jobs/129518664
Happy to work on adding one of these too, if we can decide what we want.
from scores.
Related Issues (20)
- Documentation uplift for contingency manager classes
- Should the argument names for ThresholdEventOperator be changed? HOT 1
- Mathjax lines too long
- [JOSS] Lisence is not correctly specified HOT 4
- [JOSS] Consider tracking coverage HOT 3
- [JOSS] Number scheme is not explained HOT 2
- [JOSS] JOSS statement of need should be expanded HOT 4
- [JOSS] Mention binder availability in README HOT 2
- [JOSS] Add a end-to-end example HOT 3
- [JOSS] Fix warnings in test suite and examples HOT 6
- Support for distributed testing
- Deprecation warning in tutorial for Pearson's correlation coefficient
- Add a "Key Features of `scores`" page to the documentation
- Key Features page in docs - follow up questions
- Tutorial Gallery - put headers in own cells so they render better in readthedocs
- [JOSS] Installation of jupyer kernel
- [JOSS] Instructions for downloading example data HOT 1
- [JOSS] General explanation of reduce/preserve HOT 1
- [JOSS] Minimal pandas support HOT 2
- [JOSS] Implementation of weights is occasionally unclear HOT 1
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 scores.