mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 19:31:10 +00:00
Measure coverage simply in publish.sh
This commit is contained in:
+2
-1
@@ -3,4 +3,5 @@ GithubCredentials.py
|
||||
/dist/
|
||||
/build/
|
||||
/MANIFEST
|
||||
/PyGithub.egg-info/
|
||||
/PyGithub.egg-info/
|
||||
/.coverage
|
||||
|
||||
+5
-1
@@ -2,7 +2,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
pep8 --ignore=E501 github *.py # pip install pep8
|
||||
python setup.py test
|
||||
|
||||
python3 setup.py test
|
||||
|
||||
coverage run --branch "--include=github/*.py" "--omit=github/tests/*.py" setup.py test
|
||||
coverage report --show-missing
|
||||
|
||||
previousVersion=$( grep 'version =' setup.py | sed 's/.*version = \"\(.*\)\".*/\1/' )
|
||||
echo "Next version number? (previous: '$previousVersion')"
|
||||
|
||||
Reference in New Issue
Block a user