mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-09 12:42:19 +00:00
runtime
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user