-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
13 lines (13 loc) · 772 Bytes
/
Makefile
File metadata and controls
13 lines (13 loc) · 772 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
# Execute the examples. This is a quick manual sanity check for errors.
#
# The decorator-examples test could be turned into an automated test case.
#
# The magic-examples notebook contains gratuitous differences when it's
# re-executed, since the notebook contains the repr of the Graphviz Diagraph
# instances, which include their addresses. Testing for the decorator should
# inspect the digraph or compare its generated dot or SVG file, rather than
# using the notebook.
.PHONY: execute
execute:
jupyter nbconvert --to notebook --execute examples/callgraph-decorator-examples.ipynb --inplace --ExecutePreprocessor.kernel_name=python
jupyter nbconvert --to notebook --execute examples/callgraph-magic-examples.ipynb --inplace --ExecutePreprocessor.kernel_name=python