diff --git a/Project.toml b/Project.toml index 68dd0e57..31a49123 100644 --- a/Project.toml +++ b/Project.toml @@ -40,15 +40,7 @@ SteadyStateDiffEq = "1.16.0" julia = "1.8" [extras] -BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" -Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" -LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f" -Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306" -Pardiso = "46dd5b70-b6fb-5a00-ae2d-e8fea33afaf2" -Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" -Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" -QuantumOptics = "6e0679c1-51ea-5a7c-ac74-d61b76210b0c" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["BenchmarkTools", "Documenter", "LaTeXStrings", "Literate", "Pardiso", "Pkg", "Plots", "QuantumOptics", "Test"] +test = ["Test"] diff --git a/test/QuantumOptics/Project.toml b/test/QuantumOptics/Project.toml new file mode 100644 index 00000000..8e9cfb09 --- /dev/null +++ b/test/QuantumOptics/Project.toml @@ -0,0 +1,3 @@ +[deps] +HierarchicalEOM = "a62dbcb7-80f5-4d31-9a88-8b19fd92b128" +QuantumOptics = "6e0679c1-51ea-5a7c-ac74-d61b76210b0c" \ No newline at end of file diff --git a/test/QOExt.jl b/test/QuantumOptics/QOExt.jl similarity index 98% rename from test/QOExt.jl rename to test/QuantumOptics/QOExt.jl index 0e62467d..42d0ea1a 100644 --- a/test/QOExt.jl +++ b/test/QuantumOptics/QOExt.jl @@ -1,3 +1,5 @@ +using QuantumOptics + # System Hamiltonian and initial state basis = SpinBasis(1//2) σx = sigmax(basis) diff --git a/test/runtests.jl b/test/runtests.jl index 063e001b..2a3e00fc 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,5 +1,4 @@ using Test, Pkg -using QuantumOptics using HierarchicalEOM using SparseArrays using LinearAlgebra @@ -38,7 +37,10 @@ if GROUP == "HierarchicalEOM_CUDAExt" end if (GROUP == "All" || GROUP == "HierarchicalEOM_QOExt") && HAS_EXTENSIONS + Pkg.activate("QuantumOptics") + Pkg.develop(PackageSpec(path = dirname(@__DIR__))) + Pkg.instantiate() @testset "QuantumOptics Extension" begin - include("QOExt.jl") + include("QuantumOptics/QOExt.jl") end end \ No newline at end of file