mirror of
https://github.com/mtan93/cachet-url-monitor.git
synced 2026-03-08 05:31:58 +00:00
Trying to integrate codacy and coveralls back into the build, now using circleci
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user