This commit is contained in:
Jukka Aho
2015-07-05 02:46:04 +03:00
parent cdfb65fda4
commit e91445b4bd
3 changed files with 16 additions and 1 deletions
+4 -1
View File
@@ -1,5 +1,6 @@
cd(dirname(@__FILE__)) do
k = 0
results = Dict[]
for ipynb in readdir("tutorials")
tic()
@@ -9,8 +10,10 @@ for ipynb in readdir("tutorials")
runtime = 0
status = 1
println("Running notebook tutorials/$ipynb")
port = 34211+k
k += 1
try
run(`runipy -o tutorials/$ipynb --kernel=julia-0.4 --port=34211`)
run(`runipy -o tutorials/$ipynb --kernel=julia-0.4 --port=$port`)
status = 0
catch
println("did not work")
+2
View File
@@ -3,5 +3,7 @@ Tutorials
Tutorials are automatically generated each time new commit is done.
.. |pass| image:: ../assets/build-passing-brightgreen.svg
.. include:: notebooks.rst
+10
View File
@@ -0,0 +1,10 @@
This is a placeholder. If you see this text, something has gone wrong with running notebooks.
+----+-----------+------------------------------+------------+---------+--------+------+-----+
| id | author | description | last run | runtime | status | html | pdf |
+====+===========+==============================+============+=========+========+======+=====+
| 1 | Jukka Aho | This is placeholder notebook | 2015-07-05 | 123.45 | |pass| | html | pdf |
+----+-----------+------------------------------+------------+---------+--------+------+-----+
End of placeholder.