This repository was archived by the owner on Aug 21, 2023. It is now read-only.
Commit 6e2914c
committed
Make tutorial tests run all notebooks by default and configurable
This commit updates the often forgotten about test module to actually be
runnable by default. It also makes the hard coded values for path,
kernel, and timeout configurable via env variables so people can adjust
these easily without having to hand edit code. The exlusion list option
was not added because doing that in a test module is redundant a decent
test runner will support test selection in a more robust manner and that
should be leveraged instead of exclusion list.
In addition because the notebook execution can be slow this commit also
adds a .stestr.conf file so that we can run the notebooks in parallel
(just like we do for the terra unit tests). This can be done with
'stestr run' and by default it will run as many processes as you have
cpus to run a notebook each (assuming you have stestr pip installed
along with the notebook dependencies).1 parent 66f22da commit 6e2914c
3 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments