Go in the good directory to launch coverage

This commit is contained in:
Declerfayt Cedric 2016-09-30 16:25:09 +02:00
parent c5712a1401
commit cb2d0df5cf
1 changed files with 3 additions and 1 deletions

View File

@ -12,5 +12,7 @@ help:
@echo " coverage to run coverage check of the source files."
coverage:
coverage run --source='.' src/manage.py test; coverage report; coverage html;
cd src; coverage run --rcfile='../.coveragrc' --source='.' manage.py test;
cd src; coverage report --rcfile='../.coveragrc';
cd src; coverage html --rcfile='../.coveragrc';
@echo "Testing of coverage in the sources finished."