datactive / bigbang

Scientific analysis of collaborative communities
http://datactive.github.io/bigbang/
MIT License
149 stars 52 forks source link

Add workflow to analyse code coverage if pushed to master branch #411

Closed Christovis closed 3 years ago

Christovis commented 3 years ago

Proposal:

This PR will implement a workflow, that tests every branch that is being merged into master for its code coverage with Codecov.

An account with Codecov and a token would need to be created as described here. Afterwards this pull request will add a new badge to the README indicating how much of the code is tested.

The workflow will set up an environment in Ubuntu and uses Python 3.7, as the package ietfdata is only pip install-able for Python version >= 3.7.

sbenthall commented 3 years ago

This looks like a good direction to me!

Christovis commented 3 years ago

It would be ready to merge now. Remember to setup a Codecov account and include the token in this repo.

sbenthall commented 3 years ago

Hi. I haven't had time to make a codecov account yet but I'll merge this once i'm able to do that