Skip to content

Commit 7e6371a

Browse files
authored
don't test KernelGradients on nightly for now (#292)
1 parent a137cf4 commit 7e6371a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.ci/develop.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ if !CI || BACKEND == "CUDA"
2222
Pkg.develop(cudakernels)
2323
end
2424

25-
kernelgradients = Pkg.PackageSpec(path = joinpath(root_directory, "lib", "KernelGradients"))
26-
Pkg.develop(kernelgradients)
25+
if VERSION < v"1.8"
26+
kernelgradients = Pkg.PackageSpec(path = joinpath(root_directory, "lib", "KernelGradients"))
27+
Pkg.develop(kernelgradients)
28+
end
2729
Pkg.build()
2830
Pkg.precompile()

.ci/test.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ if !CI || BACKEND == "CUDA"
1313
push!(pkgs, "CUDAKernels")
1414
end
1515
if !CI || haskey(ENV, "TEST_KERNELGRADIENTS")
16-
push!(pkgs, "KernelGradients")
16+
if VERSION < v"1.8"
17+
push!(pkgs, "KernelGradients")
18+
end
1719
end
1820

1921
Pkg.test(pkgs; coverage = true)

0 commit comments

Comments
 (0)