File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 55install :
66 - pip install .
77 - pip install -r requirements.txt
8+ - pip install codecov
89# command to run tests
9- script : python -m pytest .
10+ script : python -m pytest . --cov=starter --cov-report term --cov-report xml
11+ after_success :
12+ - codecov
Original file line number Diff line number Diff line change 11# python-starter
22A starting spot for python projects. Embracing open source elements.
33
4- [ ![ Documentation status] ( https://readthedocs.org/projects/python-starter/badge/?version=latest )] ( http://python-starter.readthedocs.io/en/latest/ ) [ ![ Build Status] ( https://travis-ci.org/SyntaxRules/python-starter.svg?branch=master )] ( https://travis-ci.org/SyntaxRules/python-starter )
4+ [ ![ Documentation status] ( https://readthedocs.org/projects/python-starter/badge/?version=latest )] ( http://python-starter.readthedocs.io/en/latest/ ) [ ![ Build Status] ( https://travis-ci.org/SyntaxRules/python-starter.svg?branch=master )] ( https://travis-ci.org/SyntaxRules/python-starter ) [ ![ codecov] ( https://codecov.io/gh/SyntaxRules/python-starter/branch/master/graph/badge.svg )] ( https://codecov.io/gh/SyntaxRules/python-starter )
5+
56
67# Project Structure
78
Original file line number Diff line number Diff line change 1+ pytest-cov
Original file line number Diff line number Diff line change 2525 "console_scripts" : ['start_example = starter.__main__:main' ]
2626 },
2727 test_suite = 'tests' ,
28- tests_require = ['coverage ' ,
29- 'pytest' ,
28+ tests_require = ['pytest ' ,
29+ 'pytest-cov ' ,
3030 'pylint' ,
3131 'mock' ]
3232)
You can’t perform that action at this time.
0 commit comments