Skip to content

Commit 51e5297

Browse files
Run Aqua tests if Aqua is installed (#130)
1 parent 8890288 commit 51e5297

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/runtests.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
using Test
44
using Distributed
55

6-
if !Base.get_bool_env("BUILDKITE", false)
6+
# only run these if Aqua is installed. i.e. Pkg.test has installed it, or it is provided as a shared package
7+
if Base.locate_package(Base.PkgId(Base.UUID("4c88cf16-eb10-579e-8560-4a9242c79595"), "Aqua")) isa String
78
@testset "Aqua.jl tests" begin
89
include("aqua.jl")
910
end

0 commit comments

Comments
 (0)