Skip to content

Commit d4b2e00

Browse files
authored
Try tests on Julia 1.12 (#276)
1 parent b7c0207 commit d4b2e00

File tree

4 files changed

+15
-12
lines changed

4 files changed

+15
-12
lines changed

.github/workflows/Test-GPU.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
env:
2222
CUDA_VISIBLE_DEVICES: 1
2323
JULIA_DEPOT_PATH: /scratch/github-actions/julia_depot_alexis
24-
JULIA_SMC_TEST_GROUP: "GPU"
24+
JULIA_SMC_TEST_GROUP: 'GPU'
2525
strategy:
2626
matrix:
2727
julia-version: ['1.10', '1.11']

.github/workflows/Test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
julia-version: ['1.10', '1.11']
23+
julia-version: ['1.10', '1.11', '1.12']
2424

2525
steps:
2626
- uses: actions/checkout@v5

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ CliqueTrees = "1"
3131
Colors = "0.12.11, 0.13"
3232
DocStringExtensions = "0.8,0.9"
3333
JuMP = "1.29.1"
34-
LinearAlgebra = "<0.0.1, 1"
34+
LinearAlgebra = "1"
3535
MathOptInterface = "1.45.0"
3636
PrecompileTools = "1.2.1"
37-
Random = "<0.0.1, 1"
38-
SparseArrays = "<0.0.1, 1"
37+
Random = "1"
38+
SparseArrays = "1"
3939
julia = "1.10"

test/runtests.jl

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ include("utils.jl")
1919
else
2020
@testset verbose = true "Code quality" begin
2121
@testset "Aqua" begin
22-
Aqua.test_all(SparseMatrixColorings; stale_deps=(; ignore=[:Requires],))
22+
Aqua.test_all(SparseMatrixColorings; stale_deps = (; ignore = [:Requires]))
2323
end
2424
@testset "JET" begin
25-
JET.test_package(SparseMatrixColorings; target_defined_modules=true)
25+
JET.test_package(SparseMatrixColorings; target_defined_modules = true)
2626
end
2727
# @testset "JuliaFormatter" begin
28-
# TODO: switch to Runic (temporarily deactivated)
29-
# @test JuliaFormatter.format(
30-
# SparseMatrixColorings; verbose=false, overwrite=false
31-
# )
28+
# TODO: switch to Runic (temporarily deactivated)
29+
# @test JuliaFormatter.format(
30+
# SparseMatrixColorings; verbose=false, overwrite=false
31+
# )
3232
# end
3333
@testset "Doctests" begin
3434
Documenter.doctest(SparseMatrixColorings)
@@ -88,7 +88,10 @@ include("utils.jl")
8888
end
8989
@testset verbose = true "Performance" begin
9090
@testset "Type stability" begin
91-
include("type_stability.jl")
91+
if VERSION < v"1.12"
92+
# TODO: fix JET misbehaving
93+
include("type_stability.jl")
94+
end
9295
end
9396
@testset "Allocations" begin
9497
include("allocations.jl")

0 commit comments

Comments
 (0)