diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2021-09-07 20:58:01 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2021-09-07 21:01:32 +0100 |
commit | cd2da7c74466e7db290446047ddd17e3008a0b83 (patch) | |
tree | 432089aa7924434fa200523c7502a17ebf988a28 | |
parent | 5cd2c2a8e56bdac1bc435fbd378ba7b10023c361 (diff) | |
download | subplot-cd2da7c74466e7db290446047ddd17e3008a0b83.tar.gz |
chore: Re-enable reference.md suite
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
-rwxr-xr-x | check | 2 | ||||
-rw-r--r-- | reference.md | 6 | ||||
-rw-r--r-- | reference.yaml | 8 |
3 files changed, 10 insertions, 6 deletions
@@ -219,7 +219,7 @@ def check_subplots(r): mds = find_files( "**/*.md", - lambda f: f == f.lower() and "subplotlib" not in f and "test-outputs" not in f and "reference" not in f, + lambda f: f == f.lower() and "subplotlib" not in f and "test-outputs" not in f, ) for md0 in mds: r.title(f"checking subplot {md0}") diff --git a/reference.md b/reference.md index 48e2295..ce79e14 100644 --- a/reference.md +++ b/reference.md @@ -11,7 +11,7 @@ documents. ~~~scenario given an installed subplot -given a clone of https://gitlab.com/subplot/subplot.git in src at 725775084f47cc2449d8d55687cf163f6b8f2d96 +given a clone of https://gitlab.com/subplot/subplot.git in src at 5cd2c2a8e56bdac1bc435fbd378ba7b10023c361 when I docgen subplot.md to test.pdf, in src then file src/test.pdf exists ~~~ @@ -20,7 +20,7 @@ then file src/test.pdf exists ~~~scenario given an installed subplot -given a clone of https://gitlab.com/subplot/subplot.git in src at 725775084f47cc2449d8d55687cf163f6b8f2d96 +given a clone of https://gitlab.com/subplot/subplot.git in src at 5cd2c2a8e56bdac1bc435fbd378ba7b10023c361 when I docgen subplot.md to test.html, in src when I run, in src, subplot docgen subplot.md -o subplot.html then file src/test.html exists @@ -31,7 +31,7 @@ then file src/test.html exists ~~~scenario given an installed subplot given file run_test.sh -given a clone of https://gitlab.com/subplot/subplot.git in src at 725775084f47cc2449d8d55687cf163f6b8f2d96 +given a clone of https://gitlab.com/subplot/subplot.git in src at 5cd2c2a8e56bdac1bc435fbd378ba7b10023c361 when I run, in src, subplot codegen subplot.md -o test-inner.py when I run bash run_test.sh then command is successful diff --git a/reference.yaml b/reference.yaml index 2f1573c..f7e7ab4 100644 --- a/reference.yaml +++ b/reference.yaml @@ -1,5 +1,9 @@ - given: "a clone of {url} in src at {commit}" - function: clone_to_src + impl: + python: + function: clone_to_src - when: "I docgen {filename} to {output}, in {dirname}" - function: docgen + impl: + python: + function: docgen |