Skip to content

Commit 26779df

Browse files
committed
add coverage script
1 parent 99283bc commit 26779df

File tree

4 files changed

+29
-6
lines changed

4 files changed

+29
-6
lines changed

.coverage

52 KB
Binary file not shown.

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
# MiSTree
22

3-
Author: Krishna Naidoo
4-
Version: 1.2.0
5-
Homepage: https://github.com/knaidoo29/mistree
6-
Documentation: https://knaidoo29.github.io/mistreedoc/
73

8-
[![Build Status](https://travis-ci.org/knaidoo29/mistree.svg?branch=master)](https://travis-ci.org/knaidoo29/mistree) [![codecov](https://codecov.io/gh/knaidoo29/mistree/branch/master/graph/badge.svg)](https://codecov.io/gh/knaidoo29/mistree) [![PyPI version](https://badge.fury.io/py/mistree.svg)](https://badge.fury.io/py/mistree) [![status](https://joss.theoj.org/papers/461d79e9e5faf21029c0a7b1c928be28/status.svg)](https://joss.theoj.org/papers/461d79e9e5faf21029c0a7b1c928be28) [![DOI](https://zenodo.org/badge/170473458.svg)](https://zenodo.org/badge/latestdoi/170473458) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/knaidoo29/mistree/master?filepath=tutorials%2Fnotebooks%2F)
9-
[![ascl](https://img.shields.io/badge/ascl-1910.016-blue.svg?colorB=262255)](http://ascl.net/1910.016)
4+
[![MiSTree Version](https://img.shields.io/badge/Version-2.0.0-green)](https://img.shields.io/badge/Version-2.0.0-green) [![PyPI version](https://badge.fury.io/py/mistree.svg)](https://badge.fury.io/py/mistree) [![Python Version Support](https://img.shields.io/badge/Python-3.7%20|%203.8%20|%203.9%20|%203.10%20|%203.11-blue)](https://img.shields.io/badge/Python-3.7%20|%203.8%20|%203.9-blue) [![Ubuntu](https://github.com/knaidoo29/mistree/actions/workflows/python-package.yml/badge.svg?branch=pure_python)](https://github.com/knaidoo29/mistree/actions/workflows/python-package.yml) [![MacOS](https://github.com/knaidoo29/mistree/actions/workflows/python-package_macos.yml/badge.svg?branch=pure_python)](https://github.com/knaidoo29/mistree/actions/workflows/python-package_macos.yml) [![Windows](https://github.com/knaidoo29/mistree/actions/workflows/python-package_windows.yml/badge.svg?branch=pure_python)](https://github.com/knaidoo29/mistree/actions/workflows/python-package_windows.yml) [![codecov](https://codecov.io/gh/knaidoo29/mistree/branch/master/graph/badge.svg)](https://codecov.io/gh/knaidoo29/mistree) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![status](https://joss.theoj.org/papers/461d79e9e5faf21029c0a7b1c928be28/status.svg)](https://joss.theoj.org/papers/461d79e9e5faf21029c0a7b1c928be28) [![ascl](https://img.shields.io/badge/ascl-1910.016-blue.svg?colorB=262255)](http://ascl.net/1910.016) [![DOI](https://zenodo.org/badge/170473458.svg)](https://zenodo.org/badge/latestdoi/170473458) [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/knaidoo29/mistree/master?filepath=tutorials%2Fnotebooks%2F)
105

116
## Introduction
127

coverage.svg

Lines changed: 21 additions & 0 deletions
Loading

run_coverage.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
pip install coverage
4+
pip install coverage-badge
5+
6+
coverage run -m pytest
7+
coverage-badge -o coverage.svg

0 commit comments

Comments
 (0)