From 2648e7674234be3738920497565d9fa9737e40e1 Mon Sep 17 00:00:00 2001 From: Alexis Montoison Date: Tue, 25 Mar 2025 01:39:55 -0500 Subject: [PATCH] Update runtests.jl for Julia >= 1.10 --- test/runtests.jl | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index a56cca5d..7fe1e5e7 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -12,18 +12,16 @@ include("utils.jl") @testset verbose = true "SparseMatrixColorings" begin @testset verbose = true "Code quality" begin - if VERSION >= v"1.10" - @testset "Aqua" begin - Aqua.test_all(SparseMatrixColorings; stale_deps=(; ignore=[:Requires],)) - end - @testset "JET" begin - JET.test_package(SparseMatrixColorings; target_defined_modules=true) - end - @testset "JuliaFormatter" begin - @test JuliaFormatter.format( - SparseMatrixColorings; verbose=false, overwrite=false - ) - end + @testset "Aqua" begin + Aqua.test_all(SparseMatrixColorings; stale_deps=(; ignore=[:Requires],)) + end + @testset "JET" begin + JET.test_package(SparseMatrixColorings; target_defined_modules=true) + end + @testset "JuliaFormatter" begin + @test JuliaFormatter.format( + SparseMatrixColorings; verbose=false, overwrite=false + ) end @testset "Doctests" begin Documenter.doctest(SparseMatrixColorings) @@ -76,10 +74,8 @@ include("utils.jl") end end @testset verbose = true "Performance" begin - if VERSION >= v"1.10" - @testset "Type stability" begin - include("type_stability.jl") - end + @testset "Type stability" begin + include("type_stability.jl") end @testset "Allocations" begin include("allocations.jl")