Skip to content

Commit b261cf6

Browse files
committed
updated makefile run_coverage to be more robust.
1 parent 56709b8 commit b261cf6

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ pull_chunked : submodules/chunked_requests
6363
run_coverage :
6464
@echo ""
6565
@echo "Running api nosetests with coverage"
66-
nosetests -w plotly/tests --with-coverage --cover-package plotly.plotly.plotly --cover-package plotly.graph_objs.graph_objs --cover-package plotly.matplotlylib.mpltools --cover-package plotly.matplotlylib.renderer --cover-package plotly.tools --cover-package plotly.exceptions --cover-package plotly.utils --cover-package plotly.version
66+
nosetests -w plotly/tests --with-coverage --cover-erase --cover-package plotly.plotly.plotly --cover-package plotly.graph_objs.graph_objs --cover-package plotly.matplotlylib.mpltools --cover-package plotly.matplotlylib.renderer --cover-package plotly.tools --cover-package plotly.exceptions --cover-package plotly.utils --cover-package plotly.version
67+
@echo "Removing old html if it exists"
68+
if [ -d plotly/tests/coverage ]; then rm -rf plotly/tests/coverage; fi
6769
@echo "Generating html with coverage"
6870
coverage html -d plotly/tests/coverage
6971

plotly/tests/coverage/status.dat

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)