Skip to content

Commit d85a187

Browse files
committed
test: install AllocCheck if needed
1 parent b177a3b commit d85a187

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/CI_SimpleNonlinearSolve.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
group:
3636
- core
3737
- adjoint
38+
- alloc_check
3839
steps:
3940
- uses: actions/checkout@v4
4041
- uses: julia-actions/setup-julia@v2

lib/SimpleNonlinearSolve/Project.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ SimpleNonlinearSolveTrackerExt = "Tracker"
3737
[compat]
3838
ADTypes = "1.2"
3939
Accessors = "0.1"
40-
AllocCheck = "0.1.1"
4140
Aqua = "0.8.7"
4241
ArrayInterface = "7.16"
4342
BracketingNonlinearSolve = "1"
@@ -72,7 +71,6 @@ Zygote = "0.6.70"
7271
julia = "1.10"
7372

7473
[extras]
75-
AllocCheck = "9b6a8646-10ed-4001-bbdc-1d2f46dfbb1a"
7674
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
7775
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
7876
Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9"
@@ -90,4 +88,4 @@ Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
9088
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
9189

9290
[targets]
93-
test = ["AllocCheck", "Aqua", "DiffEqBase", "Enzyme", "ExplicitImports", "InteractiveUtils", "NonlinearProblemLibrary", "Pkg", "PolyesterForwardDiff", "Random", "ReverseDiff", "StaticArrays", "Test", "TestItemRunner", "Tracker", "Zygote"]
91+
test = ["Aqua", "DiffEqBase", "Enzyme", "ExplicitImports", "InteractiveUtils", "NonlinearProblemLibrary", "Pkg", "PolyesterForwardDiff", "Random", "ReverseDiff", "StaticArrays", "Test", "TestItemRunner", "Tracker", "Zygote"]

lib/SimpleNonlinearSolve/test/core/allocation_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@itesitem "Allocation Tests" tags=[:core] begin
1+
@itesitem "Allocation Tests" tags=[:alloc_check] begin
22
using SimpleNonlinearSolve, StaticArrays, AllocCheck
33

44
quadratic_f(u, p) = u .* u .- p

lib/SimpleNonlinearSolve/test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const GROUP = lowercase(get(ENV, "GROUP", "All"))
66

77
(GROUP == "all" || GROUP == "cuda") && Pkg.add(["CUDA"])
88
(GROUP == "all" || GROUP == "adjoint") && Pkg.add(["SciMLSensitivity"])
9+
(GROUP == "all" || GROUP == "alloc_check") && Pkg.add(["AllocCheck"])
910

1011
@testset "SimpleNonlinearSolve.jl" begin
1112
if GROUP == "all"

0 commit comments

Comments
 (0)