Skip to content

Commit 12b677d

Browse files
authored
Drop Julia 1.6 specifics (#95)
* Drop Julia 1.6 specifics
1 parent 35abc45 commit 12b677d

File tree

4 files changed

+9
-120
lines changed

4 files changed

+9
-120
lines changed

.github/workflows/Documentation.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/workflows/format_pr.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

test/test-allocs.jl

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
if VERSION v"1.6"
2-
@testset "Test allocations of solver specific" begin
3-
nlp = BROWNDEN()
4-
stats = GenericExecutionStats(nlp) # stats = GenericExecutionStats(nlp, solver_specific = Dict{Symbol, Bool}())
5-
function fake_solver(stats)
6-
set_solver_specific!(stats, :test, true)
7-
return stats
8-
end
9-
@allocated fake_solver(stats)
10-
a = @allocated fake_solver(stats)
11-
@test a == 0
1+
@testset "Test allocations of solver specific" begin
2+
nlp = BROWNDEN()
3+
stats = GenericExecutionStats(nlp) # stats = GenericExecutionStats(nlp, solver_specific = Dict{Symbol, Bool}())
4+
function fake_solver(stats)
5+
set_solver_specific!(stats, :test, true)
6+
return stats
127
end
8+
@allocated fake_solver(stats)
9+
a = @allocated fake_solver(stats)
10+
@test a == 0
1311
end

0 commit comments

Comments
 (0)