diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e1a14c6..84f9b6f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -25,7 +25,6 @@ jobs: version: - '1.11' - '1.10' - - '1.6' - 'pre' os: - ubuntu-latest diff --git a/Project.toml b/Project.toml index 2729810..e3079ad 100644 --- a/Project.toml +++ b/Project.toml @@ -13,5 +13,5 @@ nauty_jll = "55c6dc9b-343a-50ca-8ff2-b71adb3733d5" Graphs = "1.9" LinearAlgebra = "1" SHA = "0.7, 1" -julia = "1.6" +julia = "1.10" nauty_jll = "2.8.9" diff --git a/test/jet.jl b/test/jet.jl index 728091f..3c3bd32 100644 --- a/test/jet.jl +++ b/test/jet.jl @@ -1,31 +1,31 @@ using JET @testset "JET" begin - test_package(NautyGraphs; target_modules=(NautyGraphs,)) + test_package(NautyGraphs) - @test_opt target_modules=(NautyGraphs,) NautyGraph(10) - @test_opt target_modules=(NautyGraphs,) NautyDiGraph(10) + @test_opt NautyGraph(10) + @test_opt NautyDiGraph(10) A = [1 0 1; 0 1 0; 1 1 1] - @test_opt target_modules=(NautyGraphs,) NautyDiGraph(A) + @test_opt NautyDiGraph(A) g = NautyDiGraph(5; vertex_labels=1:5) h = NautyGraph(g) - @test_opt target_modules=(NautyGraphs,) copy(g) - @test_opt target_modules=(NautyGraphs,) NautyDiGraph(g) + @test_opt copy(g) + @test_opt NautyDiGraph(g) add_edge!(g, 2, 5) - @test_opt target_modules=(NautyGraphs,) add_edge!(g, 1, 2) - @test_opt target_modules=(NautyGraphs,) add_vertex!(g) - @test_opt target_modules=(NautyGraphs,) add_vertex!(g; vertex_label=5) - @test_opt target_modules=(NautyGraphs,) rem_vertex!(g, 3) - @test_opt target_modules=(NautyGraphs,) rem_edge!(g, 2, 5) - @test_opt target_modules=(NautyGraphs,) outneighbors(g, 1) - @test_opt target_modules=(NautyGraphs,) inneighbors(g, 1) - @test_opt target_modules=(NautyGraphs,) collect(edges(g)) - @test_opt target_modules=(NautyGraphs,) blockdiag(g, h) + @test_opt add_edge!(g, 1, 2) + @test_opt add_vertex!(g) + @test_opt add_vertex!(g; vertex_label=5) + @test_opt rem_vertex!(g, 3) + @test_opt rem_edge!(g, 2, 5) + @test_opt outneighbors(g, 1) + @test_opt inneighbors(g, 1) + @test_opt collect(edges(g)) + @test_opt blockdiag(g, h) - @test_opt target_modules=(NautyGraphs,) nauty(g) - @test_opt target_modules=(NautyGraphs,) canonize!(g) + @test_opt nauty(g) + @test_opt canonize!(g) end diff --git a/test/runtests.jl b/test/runtests.jl index 1a29d37..8c6e044 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -9,7 +9,7 @@ using Base.Threads include("nauty.jl") include("graphset.jl") include("utils.jl") - VERSION >= v"1.9-" && include("interface.jl") - include("aqua.jl") - VERSION >= v"1.10" && include("jet.jl") + include("interface.jl") + VERSION >= v"1.11" && include("aqua.jl") + VERSION >= v"1.11" && include("jet.jl") end