Skip to content

Commit e85899b

Browse files
authored
Add Aqua.jl to the tests (#642)
1 parent 84a30f2 commit e85899b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

test/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[deps]
22
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
3+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
34
Clarabel = "61c947e1-3e6d-4ee4-985a-eec8c727bd6e"
45
Convex = "f65535da-76fb-5f13-bab9-19810c17039a"
56
ECOS = "e2685f51-7e38-5353-a97d-a921fd2c8199"

test/runtests.jl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Use of this source code is governed by a BSD-style license that can be found
44
# in the LICENSE file or at https://opensource.org/license/bsd-2-clause
55

6-
using Test
6+
using Test, Aqua, Convex
77

88
# Seed random number stream to improve test reliability
99
import Random
@@ -16,3 +16,11 @@ Random.seed!(2)
1616
include("test_problem_depot.jl")
1717
include("MOI_wrapper.jl")
1818
end
19+
20+
@testset "Aqua" begin
21+
Aqua.test_all(Convex; ambiguities = false, piracies = false)
22+
# Convex currently has some light piracy of `hcat`, `vcat` and `hvcat`
23+
Aqua.test_piracies(Convex; treat_as_own = [hcat, vcat, hvcat])
24+
# Convex currently has some ambiguities
25+
Aqua.test_ambiguities(Convex; broken = true)
26+
end

0 commit comments

Comments
 (0)