Skip to content

Commit 611b295

Browse files
committed
add tutorials to CI
1 parent 69f693e commit 611b295

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

docs/paper/paper.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ affiliations:
6060
- name: Goethe University Frankfurt, Germany
6161
index: 5
6262

63-
date: 13 March 2024
63+
date: 14 March 2024
6464
bibliography: paper.bib
6565
---
6666

test/runtests.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ end
6060
include("test_create_movie.jl")
6161
end
6262

63+
# Include tutorials
64+
include("test_tutorials.jl")
65+
6366
# Cleanup
6467
foreach(rm, filter(endswith(".vts"), readdir()))
6568
foreach(rm, filter(endswith(".vtu"), readdir()))

test/test_tutorials.jl

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#this runs the tutorials that are part of the JOSS paper to ensure that they keep working moving forward
2+
3+
@testset "Basic tutorial" begin
4+
include("../tutorials/Tutorial_Basic.jl")
5+
end
6+
7+
@testset "Jura tutorial" begin
8+
include("../tutorials/Tutorial_Jura.jl")
9+
end
10+
11+
@testset "LaPalma tutorial" begin
12+
include("../tutorials/Tutorial_LaPalma.jl")
13+
end
14+
15+
# Deactivating this one as it plots in the tutorial
16+
#@testset "AlpineData tutorial" begin
17+
# include("../tutorials/Tutorial_AlpineData.jl")
18+
#end
19+
20+
@testset "2D Numerical Model tutorial" begin
21+
include("../tutorials/Tutorial_NumericalModel_2D.jl")
22+
end
23+
24+
@testset "3D Numerical Model tutorial" begin
25+
include("../tutorials/Tutorial_NumericalModel_3D.jl")
26+
end

0 commit comments

Comments
 (0)