Skip to content

Commit

Permalink
Merge pull request #175 from CliMA/ck/ci
Browse files Browse the repository at this point in the history
Fix aqua tests
  • Loading branch information
charleskawczynski authored Jan 12, 2024
2 parents a851ec7 + 6a28bdf commit 8672dd0
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 21 deletions.
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ RootSolvers = "7181ea78-2dcb-4de3-ab41-2b8ab5a31e74"
[compat]
DocStringExtensions = "0.8.1, 0.9"
KernelAbstractions = "0.7, 0.8, 0.9"
Random = "1"
RootSolvers = "0.4"
julia = "1.6"
2 changes: 0 additions & 2 deletions perf/alloc_per_constructor.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Launch with `julia --project --track-allocation=user`
import Pkg
Pkg.develop(path = ".")
import Profile

include("common.jl")
Expand Down
4 changes: 0 additions & 4 deletions perf/allocs.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
if !haskey(ENV, "BUILDKITE")
import Pkg
Pkg.develop(Pkg.PackageSpec(; path = dirname(@__DIR__)))
end
import Thermodynamics
import RootSolvers
import CLIMAParameters
Expand Down
8 changes: 2 additions & 6 deletions test/aqua.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,8 @@ using Aqua
@test length(ambs) 0
end

@testset "Aqua tests (additional)" begin
Aqua.test_undefined_exports(Thermodynamics)
Aqua.test_stale_deps(Thermodynamics)
Aqua.test_deps_compat(Thermodynamics)
Aqua.test_project_extras(Thermodynamics)
Aqua.test_piracy(Thermodynamics)
@testset "Aqua tests - remaining" begin
Aqua.test_all(Thermodynamics; ambiguities = false, unbound_args = false)
end

nothing
5 changes: 0 additions & 5 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
if !haskey(ENV, "BUILDKITE")
import Pkg
Pkg.develop(Pkg.PackageSpec(; path = dirname(@__DIR__)))
end

include("aqua.jl")
include("TemperatureProfiles.jl")
include("relations.jl")
Expand Down
4 changes: 0 additions & 4 deletions test/runtests_gpu.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
if !haskey(ENV, "BUILDKITE")
import Pkg
Pkg.develop(Pkg.PackageSpec(; path = dirname(@__DIR__)))
end
using Test

using KernelAbstractions
Expand Down

0 comments on commit 8672dd0

Please sign in to comment.