Add codecov support for test coverage reporting.
This commit is contained in:
@@ -16,7 +16,7 @@ test:mysql:
|
||||
- pip install -r requirements/testing.txt
|
||||
- pip install -q mysql-python
|
||||
- coverage run manage.py test $MAYAN_TEST_APPS --settings=mayan.settings.testing.gitlab-ci.db_mysql --nomigrations
|
||||
- coveralls
|
||||
- codecov
|
||||
tags:
|
||||
- mysql
|
||||
test:postgres:
|
||||
@@ -24,11 +24,11 @@ test:postgres:
|
||||
- pip install -r requirements/testing.txt
|
||||
- pip install -q psycopg2
|
||||
- coverage run manage.py test $MAYAN_TEST_APPS --settings=mayan.settings.testing.gitlab-ci.db_postgres --nomigrations
|
||||
- coveralls
|
||||
- codecov
|
||||
tags:
|
||||
- postgres
|
||||
test:sqlite:
|
||||
script:
|
||||
- pip install -r requirements/testing.txt
|
||||
- coverage run manage.py test $MAYAN_TEST_APPS --settings=mayan.settings.testing.gitlab-ci --nomigrations
|
||||
- coveralls
|
||||
- codecov
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# requirements/testing.txt
|
||||
-r common.txt
|
||||
codecov==1.4.1
|
||||
coverage==3.7.1
|
||||
coveralls==0.5
|
||||
django-test-without-migrations==0.2
|
||||
|
||||
Reference in New Issue
Block a user