Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an extended tag for time-intensive unit tests #109

Merged
merged 3 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/combinations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,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))

Expand Down Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading