1👍
To exclude the coverage task, define TEST_TASKS
in your project’s settings.py
, and leave out the coverage task.
TEST_TASKS = (
# 'discover_jenkins.tasks.run_pylint.PyLintTask',
'discover_jenkins.tasks.with_coverage.CoverageTask',
)
I’m not sure why you don’t want to edit settings.py, that’s the documented way to do it.
0👍
Check the latest version of original django-jenkins library. It has same unit test discovery method and coverage disabled by default. Coverage could be enabled with --enable-coverage
command line option.
- [Answer]-Django & WSGI – Import Error Can't find module django
- [Answer]-Django 1.8 issue with user authentication
- [Answer]-Django: Cannot create bounded form with ImageField
- [Answer]-Django storing entry to database that is shouldn't
- [Answer]-Partial and Broken Lines in Emails Sent by Django
Source:stackexchange.com