Skip to content

Commit

Permalink
Add JET.jl to the testing
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanaelbosch committed Oct 30, 2023
1 parent e627234 commit 0461d9e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
10 changes: 8 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Test, SafeTestsets, Aqua, TimerOutputs
using Test, SafeTestsets, Aqua, JET, TimerOutputs
using ProbNumDiffEq
using ODEProblemLibrary

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 0461d9e

Please sign in to comment.