From 6ae1b77fa191b453baf99e6e6e68170370695e62 Mon Sep 17 00:00:00 2001 From: Dmitry Petrov Date: Thu, 16 Mar 2017 22:46:48 -0700 Subject: [PATCH] Update codeclimate unitest reporting --- .gitignore | 1 + unittests.sh | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 82ffd30f8..3087c7d29 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ neatlynx.conf neatlynx/__pycache__ .idea cache +*.pyc diff --git a/unittests.sh b/unittests.sh index a705f191f..691ef8b4c 100755 --- a/unittests.sh +++ b/unittests.sh @@ -1,4 +1,4 @@ -python -m unittest discover --pattern=*.py -coverage report --include 'neatlynx*' -CODECLIMATE_REPO_TOKEN=a668a3d02db00ab993ad82e1b3d5d2eb00c3c2e26e659153ae4cfd2f12aaad23 codeclimate-test-reporter --include 'neatlynx*' +coverage run --include 'neatlynx*' -m unittest discover -s tests +coverage report +CODECLIMATE_REPO_TOKEN=a668a3d02db00ab993ad82e1b3d5d2eb00c3c2e26e659153ae4cfd2f12aaad23 codeclimate-test-reporter