ipfs-inactive / project-repos

[ARCHIVED] Project health metrics
http://project-repos.ipfs.io/
MIT License
7 stars 8 forks source link

Add code coverage #90

Open RichardLitt opened 8 years ago

RichardLitt commented 8 years ago

See https://github.com/ipfs/go-ipfs/issues/3053#issuecomment-239061371.

harlantwood commented 8 years ago

+1

Kubuxu commented 7 years ago

We use currently two coverage report providers, coveralls and codecov. Many of our current repos (especialy js) use coveralls but codecov has superior UX and UI, transition would be trival.

RichardLitt commented 7 years ago

@Kubuxu Cool. What should I add? The badge?

Kubuxu commented 7 years ago

I think it badge which links to the project's page would be ok.

RichardLitt commented 7 years ago

Cool. And that is for all go- and js- repos, right?

Kubuxu commented 7 years ago

Not all of them have coverage reports yet but yes.

RichardLitt commented 7 years ago

Ok. Can you point to one example of the badge? I'm not seeing it on go-ipfs; is it being used elsewhere atm?

RichardLitt commented 7 years ago

Or is this it:

[![Coverage Status](https://coveralls.io/repos/github/ipfs/go-ipld-node/badge.svg?branch=master)](https://coveralls.io/github/ipfs/go-ipld-node?branch=master)
[![Codecov](https://img.shields.io/codecov/c/github/codecov/example-python.svg)]()

I'll add the second (codecov) and open an issue about switching; that work for you? Where should I point questions about that - I don't see an issue in ipfs/community about the switch. Where is that discussion happening?

Kubuxu commented 7 years ago

There was no discussion yet, I will start issue in community.

Kubuxu commented 7 years ago

I like this style of badges a lot:

We could use the same style of icons from shields.io for Travis, Circle and the normal task:

RichardLitt commented 7 years ago

In that case, I will start looking for or adding:

![CodeCov](https://img.shields.io/codecov/c/github/ipfs/go-ipfs.svg?style=flat-square)
[![Travis CI](https://travis-ci.org/ipfs/go-ipld-node.svg?branch=master)](https://img.shields.io/travis/ipfs/go-ipld-node.svg)

CodeCov Travis CI

To every IPFS repo.

Kubuxu commented 7 years ago

We should probably make the coverage shield clickable.

RichardLitt commented 7 years ago
[![codecov.io](https://img.shields.io/codecov/c/github/ipfs/go-ipfs.svg?style=flat-square&branch=master)](https://codecov.io/github/ipfs/go-ipfs?branch=master)
[![Travis CI](https://img.shields.io/travis/ipfs/go-ipld-node.svg?branch=master&style=flat-square)](https://travis-ci.org/ipfs/go-ipld-node/)

codecov.io Travis CI

Look better?