diff --git a/Project.toml b/Project.toml index 11e97cf..2578549 100644 --- a/Project.toml +++ b/Project.toml @@ -11,6 +11,7 @@ ZeroMQ_jll = "8f1865be-045e-5c20-9c9f-bfbfb0764568" [compat] Aqua = "0.8.7" FileWatching = "<0.0.1, 1" +JET = "0.8" PrecompileTools = "1" Sockets = "<0.0.1, 1" Test = "<0.0.1, 1" @@ -19,7 +20,8 @@ julia = "1.3" [extras] Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["Aqua", "Test"] +test = ["Aqua", "Test", "JET"] diff --git a/test/runtests.jl b/test/runtests.jl index 09d89ff..4d3916d 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,7 +1,8 @@ import Aqua using ZMQ, Test -@info("Testing with ZMQ version $(ZMQ.version)") + +@info "Testing with ZMQ version $(ZMQ.lib_version())" @testset "ZMQ contexts" begin ctx=Context() @@ -219,6 +220,17 @@ end @test ZMQ.lib_version() isa VersionNumber end +# Note: Aqua and JET are kinda slow, if you're developing locally you may want +# to comment them out temporarily. @testset "Aqua.jl" begin Aqua.test_all(ZMQ) end + +# Only run JET on recent Julia versions +@static if VERSION > v"1.10" + import JET + + @testset "JET.jl" begin + JET.report_package(ZMQ) + end +end