File tree Expand file tree Collapse file tree 2 files changed +21
-8
lines changed
Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 11[deps ]
2+ Aqua = " 4c88cf16-eb10-579e-8560-4a9242c79595"
23DynamicalSystems = " 61744808-ddfa-5f27-97ff-6e42cc95d634"
34Graphs = " 86223c79-3864-5bf0-83f7-82e725a168b6"
45HerbCore = " 2b23ba43-8213-43cb-b5ea-38c12b45bd45"
6+ JET = " c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
57MetaGraphsNext = " fa8bd995-216d-47f1-8a91-f3b68fbeb377"
68SoleLogics = " b002da8f-3cb3-4d91-bbe3-2953433912b5"
79Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
Original file line number Diff line number Diff line change 1+ using Aqua
12using GraphDynamicalSystems
3+ using JET
24using Test
35
46
@@ -9,14 +11,23 @@ Don't add your tests to runtests.jl. Instead, create files named
911
1012The file will be automatically included inside a `@testset` with title "Title For My Test".
1113=#
12- for (root, dirs, files) in walkdir (@__DIR__ )
13- for file in files
14- if isnothing (match (r" ^test-.*\. jl$" , file))
15- continue
16- end
17- title = titlecase (replace (splitext (file[6 : end ])[1 ], " -" => " " ))
18- @testset " $title " begin
19- include (file)
14+ @testset " GraphDynamicalSystems.jl" begin
15+ @testset " Code quality (Aqua.jl)" begin
16+ Aqua. test_all (GraphDynamicalSystems)
17+ end
18+ @testset " Code linting (JET.jl)" begin
19+ JET. test_package (GraphDynamicalSystems; target_defined_modules = true )
20+ end
21+
22+ for (root, dirs, files) in walkdir (@__DIR__ )
23+ for file in files
24+ if isnothing (match (r" ^test-.*\. jl$" , file))
25+ continue
26+ end
27+ title = titlecase (replace (splitext (file[6 : end ])[1 ], " -" => " " ))
28+ @testset " $title " begin
29+ include (file)
30+ end
2031 end
2132 end
2233end
You can’t perform that action at this time.
0 commit comments