File tree Expand file tree Collapse file tree 4 files changed +37
-2
lines changed
Expand file tree Collapse file tree 4 files changed +37
-2
lines changed Original file line number Diff line number Diff line change 1+ [run]
2+ branch = True
3+ source = concurrency
4+ include =
5+
6+ omit =
7+
8+
9+ [report]
10+ # Regexes for lines to exclude from consideration
11+ exclude_lines =
12+ # Have to re-enable the standard pragma
13+ pragma: no cover
14+ # Don't complain about missing debug-only code:
15+ def __repr__
16+ if self\.debug
17+ # Don't complain if tests don't hit defensive assertion code:
18+ raise AssertionError
19+ raise NotImplementedError
20+ # Don't complain if non-runnable code isn't run:
21+ # if 0:
22+ if __name__ == .__main__.:
23+
24+ ignore_errors = True
25+
26+ [html]
27+ directory = ~build/coverage
Original file line number Diff line number Diff line change 11notes.txt
2+ .coverage
23/.idea
34/.tox
45docs /build /
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ install:
2323 - python setup.py -q install
2424
2525script :
26- cd demo && ./manage.py test concurrency
26+ - make test
2727
2828before_install :
2929 - sh -c "if [ '$DBENGINE' = 'pg' ]; then psql -c 'DROP DATABASE IF EXISTS concurrency;' -U postgres; fi"
Original file line number Diff line number Diff line change @@ -8,10 +8,17 @@ locale:
88 export PYTHONPATH=${PYTHONPATH}
99 cd concurrency && django-admin.py compilemessages --settings=${DJANGO_SETTINGS_MODULE}
1010
11-
1211docs :
1312 mkdir -p ${BUILDDIR} /
1413 sphinx-build -aE docs ${BUILDDIR} /docs
1514 firefox ${BUILDDIR} /docs/index.html
1615
16+ test :
17+ export PYTHONPATH=${PYTHONPATH}
18+ coverage run demo/manage.py test concurrency --settings=${DJANGO_SETTINGS_MODULE}
19+
20+ clean :
21+ rm -fr ${BUILDDIR} /
22+ find concurrency/locale -name django.mo | xargs rm -f
23+
1724.PHONY : docs
You can’t perform that action at this time.
0 commit comments