summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2021-05-22 16:56:04 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2021-05-28 20:47:16 +0100
commit57f8468f489190ea41cdcaad357d98d9b8a964d3 (patch)
treee58a920271633598cfb69f2c28aa30885c7a796b /check
parenta128ec218912a995331140e72933c957da508c79 (diff)
downloadsubplot-57f8468f489190ea41cdcaad357d98d9b8a964d3.tar.gz
check: Also check the doctests in subplotlib
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'check')
-rwxr-xr-xcheck3
1 files changed, 3 insertions, 0 deletions
diff --git a/check b/check
index eb6b509..a7e6f19 100755
--- a/check
+++ b/check
@@ -220,6 +220,9 @@ def check_subplotlib(r):
# Run Rust tests for the subplotlib library.
r.runcmd(["cargo", "test", "--lib"], cwd="subplotlib")
+ # Run Rust doctests for the subplotlib library.
+ r.runcmd(["cargo", "test", "--doc"], cwd="subplotlib")
+
# Find subplots for subplotlib.
mds = find_files("subplotlib/*.md", lambda f: True)