diff --git a/test/Project.toml b/test/Project.toml index 1ab664b31..160bf6c6b 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -3,6 +3,7 @@ Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" FiniteDiff = "6a86dc24-6348-571c-b903-95158fe2bd41" ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" Kronecker = "2c470bb0-bcc8-11e8-3dad-c9649493f05e" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" LinearRegression = "92481ed7-9fb7-40fd-80f2-46fd0f076581" diff --git a/test/runtests.jl b/test/runtests.jl index ca6ec412b..d0e3991bb 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,4 +1,4 @@ -using Test, SafeTestsets, Aqua, TimerOutputs +using Test, SafeTestsets, Aqua, JET, TimerOutputs using ProbNumDiffEq using ODEProblemLibrary @@ -121,13 +121,19 @@ const GROUP = get(ENV, "GROUP", "All") end if GROUP == "All" - @timedtestset "Aqua.jl" begin + @timedtestset "Code quality (Aqua.jl)" begin Aqua.test_all( ProbNumDiffEq, ambiguities=false, piracy=false, ) end + @timedtestset "Code linting (JET.jl)" begin + @test JET.test_package( + ProbNumDiffEq; + target_defined_modules=true, + ) + end end end