Skip to content

Commit

Permalink
Exclude examples from testing
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyT1994 committed Apr 10, 2024
1 parent 37a7ca5 commit 3c1ff11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ using ITensorNumericalAnalysis
joinpath(pkgdir(ITensorNumericalAnalysis), "test")
)
test_files = filter!(f -> occursin(Glob.FilenameMatch("test_*.jl"), f), files)
files_to_exlude = ["test_examples.jl"]
test_files = setdiff(test_files, files_to_exlude)
@testset "Test file $test_file" for test_file in test_files
println("Running test file $test_file")
@time include(joinpath(root, test_file))
Expand Down

0 comments on commit 3c1ff11

Please sign in to comment.