Skip to content

Commit

Permalink
run jet tests last
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma committed Aug 4, 2024
1 parent 4034bae commit 6a56778
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ using QuantumSymbolics

# filter for the test
testfilter = ti -> begin
exclude = Symbol[]
if get(ENV,"JET_TEST","")!="true"
push!(exclude, :jet)
end
exclude = Symbol[:jet]
if !(VERSION >= v"1.10")
push!(exclude, :doctests)
push!(exclude, :aqua)
Expand All @@ -18,3 +15,7 @@ end
println("Starting tests with $(Threads.nthreads()) threads out of `Sys.CPU_THREADS = $(Sys.CPU_THREADS)`...")

@run_package_tests filter=testfilter

if get(ENV,"JET_TEST","")=="true"
@run_package_tests filter=(ti -> :jet in ti.tags)
end

0 comments on commit 6a56778

Please sign in to comment.