nikosarcevic / CosmOracle

https://share.streamlit.io/nikosarcevic/cosmoracle/main
GNU General Public License v3.0
22 stars 2 forks source link

Code coverage badge #37

Closed marcobonici closed 2 years ago

marcobonici commented 2 years ago

I'd like to add a badge with the code coverage. While this is not fundamental from our point of view, seeing a badge with the code coverage should increase the users confidence in our tools.

I have opened a separate branch, where I have started working a bit. In particular, I have added the code coverage, In particular, it saves a badge at Saved badge to /home/runner/work/CosmOracle/CosmOracle/coverage.svg

So, probably the problem is just in linking the badge created to the README.

nikosarcevic commented 2 years ago

I am actually not even sure what it means but go ahead and do it

nikosarcevic commented 2 years ago

link https://betterprogramming.pub/add-badges-to-a-github-repository-716d2988dc6a

marcobonici commented 2 years ago

https://github.com/dwyl/repo-badges

lonbar commented 2 years ago

I've added a CI badge to the README. It simply indicates that the CI tests pass (not their coverage). Keep in mind that it currently points to the main branch.

nikosarcevic commented 2 years ago

I've added a CI badge to the README. It simply indicates that the CI tests pass (not their coverage). Keep in mind that it currently points to the main branch.

dank je wel, Matthijs

marcobonici commented 2 years ago

QUite beautiful! @lonbar , which guide/tutorial did you follow?

lonbar commented 2 years ago

Workflow badges are built into GitHub (see here). I'm still not sure where coverage stores the badge info.

lonbar commented 2 years ago

I've added a coverage badge by hand (commit 03e4d2b). At the moment I think that is the best that we can do.

marcobonici commented 2 years ago

Added.