Skip to content

Commit

Permalink
add coverage script
Browse files Browse the repository at this point in the history
  • Loading branch information
knaidoo29 committed Nov 28, 2024
1 parent 99283bc commit 26779df
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 6 deletions.
Binary file added .coverage
Binary file not shown.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
# MiSTree

Author: Krishna Naidoo
Version: 1.2.0
Homepage: https://github.com/knaidoo29/mistree
Documentation: https://knaidoo29.github.io/mistreedoc/

[![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)
[![ascl](https://img.shields.io/badge/ascl-1910.016-blue.svg?colorB=262255)](http://ascl.net/1910.016)
[![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)

## Introduction

Expand Down
21 changes: 21 additions & 0 deletions coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions run_coverage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

pip install coverage
pip install coverage-badge

coverage run -m pytest
coverage-badge -o coverage.svg

0 comments on commit 26779df

Please sign in to comment.