File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ __pycache__
7
7
* .egg-info
8
8
/.eggs
9
9
/.pytest_cache
10
+ coverage.xml
Original file line number Diff line number Diff line change @@ -38,10 +38,13 @@ cache:
38
38
- .pytest_cache
39
39
install :
40
40
- pip3 install pytest
41
+ - pip3 install pytest-cov
42
+ - pip3 install codacy-coverage
41
43
- pip3 install --upgrade pip
42
44
- pip3 install -r requirements.txt
43
45
script :
44
- - pytest -v
46
+ - pytest -v --cov --cov-report xml
47
+ - python-codacy-coverage
45
48
before_deploy :
46
49
- python3 setup.py bdist_wheel || python setup.py bdist_wheel
47
50
deploy :
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ Yet another python index generator
5
5
[ ![ Travis] ( https://img.shields.io/travis/BruceZhang1993/index-generator.svg?style=for-the-badge )] ( https://travis-ci.org/BruceZhang1993/index-generator )
6
6
[ ![ GitHub top language] ( https://img.shields.io/github/languages/top/BruceZhang1993/index-generator.svg?style=for-the-badge )] ( https://github.com/BruceZhang1993/index-generator )
7
7
[ ![ Requires.io] ( https://img.shields.io/requires/github/BruceZhang1993/index-generator.svg?style=for-the-badge )] ( https://requires.io/github/BruceZhang1993/index-generator/requirements/?branch=master )
8
+ [ ![ GitHub] ( https://img.shields.io/github/license/BruceZhang1993/index-generator.svg?style=for-the-badge )] ( https://github.com/BruceZhang1993/index-generator/blob/master/LICENSE )
9
+ ![ Codacy grade] ( https://img.shields.io/codacy/grade/3aef89bd80514ba0a2e353aefac47ebe.svg?style=for-the-badge )
8
10
9
11
## Install
10
12
You can’t perform that action at this time.
0 commit comments