From 3c1ff110931fcf6b029f9aa90ac7b52c4f5dd2d7 Mon Sep 17 00:00:00 2001 From: Joey Date: Wed, 10 Apr 2024 14:34:11 -0400 Subject: [PATCH] Exclude examples from testing --- test/runtests.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index 316ae4f..402fe09 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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))