Skip to content

Commit 2aae89f

Browse files
committed
skip AD tests on apple and prerelease
1 parent adf7156 commit 2aae89f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/runtests.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ istestfile(fn) = endswith(fn, ".jl") && !contains(fn, "setup")
5454
continue
5555
end
5656

57+
# somehow AD tests are unreasonably slow on Apple CI
58+
# and ChainRulesTestUtils doesn't like prereleases
59+
if group == "autodiff"
60+
Sys.isapple() && get(ENV, "CI", "false") == "true" && continue
61+
isempty(VERSION.prerelease) || continue
62+
end
63+
5764
grouppath = joinpath(@__DIR__, group)
5865
@time for file in filter(istestfile, readdir(grouppath))
5966
@info "Running test file: $file"

0 commit comments

Comments
 (0)