10000 Initial go at running tests on example notebooks. · DhritiShikhar/github3.py@f1ab4ea · GitHub
[go: up one dir, main page]

Skip to content

Commit f1ab4ea

Browse files
committed
Initial go at running tests on example notebooks.
1 parent a58fbef commit f1ab4ea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tox.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ deps =
2020
flake8
2121
commands = flake8 {posargs} github3/
2222

23+
[testenv:notebooks]
24+
basepython = python3.4
25+
deps =
26+
ipython[notebook]
27+
commands = find example-notebooks -name '*.ipynb' -exec ipython nbconvert --to notebook \{\} --output /dev/null --execute \;
28+
2329
[testenv:docstrings]
2430
deps =
2531
flake8

0 commit comments

Comments
 (0)
0