@@ -9,21 +9,23 @@ delete!(testsuite, "braidingtensor") # not part of the testsuite (see file heade
99
1010# CUDA tests: only run if CUDA is functional
1111using CUDA: CUDA
12- CUDA. functional () || filter! (k -> ! startswith (k, " cuda" ), testsuite)
12+ CUDA. functional () || filter! (! startswith (" cuda" ) ∘ first , testsuite)
1313
1414# On Buildkite (GPU CI runner): only run CUDA tests
15- get (ENV , " BUILDKITE" , " false" ) == " true" && filter! (k -> startswith (k, " cuda" ), testsuite)
15+ get (ENV , " BUILDKITE" , " false" ) == " true" && filter! (startswith (" cuda" ) ∘ first , testsuite)
1616
1717# ChainRules / Mooncake: skip on Apple CI and on Julia prerelease builds
1818if (Sys. isapple () && get (ENV , " CI" , " false" ) == " true" ) || ! isempty (VERSION . prerelease)
19- filter! (k -> ! startswith (k, " chainrules" ) && ! startswith (k, " mooncake" ), testsuite)
19+ filter! (! startswith (" chainrules" ) ∘ first, testsuite)
20+ filter! (! startswith (" mooncake" ) ∘ first, testsuite)
2021end
2122
2223# --fast: skip AD tests and inject fast_tests=true into each worker sandbox
2324fast = " --fast" in ARGS
2425filtered_args = filter (!= (" --fast" ), ARGS )
2526if fast
26- filter! (k -> ! startswith (k, " chainrules" ) && ! startswith (k, " mooncake" ), testsuite)
27+ filter! (! startswith (" chainrules" ) ∘ first, testsuite)
28+ filter! (! startswith (" mooncake" ) ∘ first, testsuite)
2729end
2830setup_path = joinpath (@__DIR__ , " setup.jl" )
2931init_code = quote
0 commit comments