diff --git a/test/combinations.jl b/test/combinations.jl index 670f3a15..367e67e2 100644 --- a/test/combinations.jl +++ b/test/combinations.jl @@ -138,6 +138,9 @@ end @test_throws "not supported" lineintegral(f, box) @test surfaceintegral(f, box) ≈ sol @test_throws "not supported" volumeintegral(f, box) + + # Test jacobian with wrong number of parametric coordinates + @test_throws ArgumentError jacobian(box, zeros(3)) end @testitem "Meshes.Box 3D" setup=[Setup] begin @@ -168,7 +171,7 @@ end @test volumeintegral(f, box) ≈ sol end -@testitem "Meshes.Box 4D" setup=[Setup] begin +@testitem "Meshes.Box 4D" tags=[:extended] setup=[Setup] begin a = π box = Box(Point(0, 0, 0, 0), Point(a, a, a, a)) @@ -195,9 +198,6 @@ end @test_throws "not supported" lineintegral(f, box) @test_throws "not supported" surfaceintegral(f, box) @test_throws "not supported" volumeintegral(f, box) - - # Test jacobian with wrong number of parametric coordinates - @test_throws ArgumentError jacobian(box, zeros(2)) end @testitem "Meshes.Circle" setup=[Setup] begin @@ -804,7 +804,7 @@ end @test_throws "not supported" volumeintegral(f, sphere) end -@testitem "Meshes.Tetrahedron" setup=[Setup] begin +@testitem "Meshes.Tetrahedron" tags=[:extended] setup=[Setup] begin pt_n = Point(0, 1, 0) pt_w = Point(-1, 0, 0) pt_e = Point(1, 0, 0) diff --git a/test/runtests.jl b/test/runtests.jl index 9689f0b0..1ce37c5b 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,7 +1,8 @@ using TestItemRunner using TestItems -@run_package_tests verbose = true +# For CI, run all tests not marked with the :extended tag +@run_package_tests filter=ti -> !(:extended in ti.tags) verbose=true @testsnippet Setup begin using Meshes