Skip to content

Commit e36dfbe

Browse files
committed
Add coverage
1 parent 79e299a commit e36dfbe

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ install:
1010
- python setup.py develop
1111
script:
1212
- black --line-length 80 --check --diff tensorflow_manopt
13-
- pytest -v tensorflow_manopt
13+
- pytest -v tensorflow_manopt --cov tensorflow_manopt
14+
after_success:
15+
- coveralls

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[![PyPI version](https://img.shields.io/pypi/v/tensorflow-manopt.svg)](https://pypi.org/project/tensorflow-manopt/)
44
[![DOI](https://zenodo.org/badge/298014876.svg)](https://zenodo.org/badge/latestdoi/298014876)
55
[![Build Status](https://travis-ci.org/master/tensorflow-manopt.svg?branch=master)](https://travis-ci.org/master/tensorflow-manopt)
6+
[![Coverage Status](https://coveralls.io/repos/github/master/tensorflow-manopt/badge.svg?branch=master)](https://coveralls.io/github/master/tensorflow-manopt?branch=master)
67
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
78
[![License](https://img.shields.io/:license-mit-blue.svg)](https://badges.mit-license.org)
89

requirements_dev.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
pip>=20.0.0
22
black
3+
coveralls
4+
pytest-cov

0 commit comments

Comments
 (0)