Skip to content

Commit a7a4c37

Browse files
authored
Update runtests.jl for Julia >= 1.10 (#208)
1 parent a113eea commit a7a4c37

1 file changed

Lines changed: 12 additions & 16 deletions

File tree

test/runtests.jl

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,16 @@ include("utils.jl")
1212

1313
@testset verbose = true "SparseMatrixColorings" begin
1414
@testset verbose = true "Code quality" begin
15-
if VERSION >= v"1.10"
16-
@testset "Aqua" begin
17-
Aqua.test_all(SparseMatrixColorings; stale_deps=(; ignore=[:Requires],))
18-
end
19-
@testset "JET" begin
20-
JET.test_package(SparseMatrixColorings; target_defined_modules=true)
21-
end
22-
@testset "JuliaFormatter" begin
23-
@test JuliaFormatter.format(
24-
SparseMatrixColorings; verbose=false, overwrite=false
25-
)
26-
end
15+
@testset "Aqua" begin
16+
Aqua.test_all(SparseMatrixColorings; stale_deps=(; ignore=[:Requires],))
17+
end
18+
@testset "JET" begin
19+
JET.test_package(SparseMatrixColorings; target_defined_modules=true)
20+
end
21+
@testset "JuliaFormatter" begin
22+
@test JuliaFormatter.format(
23+
SparseMatrixColorings; verbose=false, overwrite=false
24+
)
2725
end
2826
@testset "Doctests" begin
2927
Documenter.doctest(SparseMatrixColorings)
@@ -76,10 +74,8 @@ include("utils.jl")
7674
end
7775
end
7876
@testset verbose = true "Performance" begin
79-
if VERSION >= v"1.10"
80-
@testset "Type stability" begin
81-
include("type_stability.jl")
82-
end
77+
@testset "Type stability" begin
78+
include("type_stability.jl")
8379
end
8480
@testset "Allocations" begin
8581
include("allocations.jl")

0 commit comments

Comments
 (0)