Trying to integrate codacy and coveralls back into the build, now using circleci

This commit is contained in:
Mitsuo Takaki
2019-02-23 21:46:16 -08:00
parent fbc87b7846
commit 950ef86f33

View File

@@ -30,6 +30,7 @@ jobs:
source bin/activate source bin/activate
pip3 install -r dev_requirements.txt pip3 install -r dev_requirements.txt
python3 setup.py install python3 setup.py install
pip3 install coveralls
- save_cache: - save_cache:
paths: paths:
@@ -40,7 +41,10 @@ jobs:
name: run tests name: run tests
command: | command: |
. bin/activate . bin/activate
py.test tests --junitxml=test-reports/junit.xml py.test tests --junitxml=test-reports/junit.xml --cov=cachet_url_monitor
coveralls
coverage xml
python-codacy-coverage -r coverage.xml
- store_test_results: - store_test_results:
path: test-reports path: test-reports