This commit replaces the 3 lines from the contributing instructions with a single make target. Only a tiny thing, but it's reduces the distance from zero to tests passing, which can only be a good thing in my book.
10 lines
389 B
Makefile
10 lines
389 B
Makefile
testenv:
|
|
pip install -e .
|
|
pip install -r requirements/tests.txt
|
|
pip install Django
|
|
|
|
test:
|
|
flake8 compressor --ignore=E501,E128
|
|
coverage run --branch --source=compressor `which django-admin.py` test --settings=compressor.test_settings compressor
|
|
coverage report --omit=compressor/test*,compressor/filters/jsmin/rjsmin*,compressor/filters/cssmin/cssmin*,compressor/utils/stringformat*
|