Skip to content

Commit 78c3cf5

Browse files
committed
only if its not all test
1 parent 7f68452 commit 78c3cf5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/smoke_tests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ Test.@testset "Smoke Tests" begin
195195

196196
Test.@testset "$adtype on loss" for adtype in adtypes
197197
Test.@test !isnothing(DifferentiationInterface.gradient(diff_loss, adtype, ps)) broken =
198-
compute_mode.adback isa ADTypes.AutoForwardDiff
198+
GROUP != "All" && compute_mode.adback isa ADTypes.AutoForwardDiff
199199
Test.@test !isnothing(DifferentiationInterface.gradient(diff2_loss, adtype, r)) broken =
200-
compute_mode.adback isa ADTypes.AutoForwardDiff
200+
GROUP != "All" && compute_mode.adback isa ADTypes.AutoForwardDiff
201201

202202
Test.@testset "$n_epochs for fit" for n_epochs in n_epochs_
203203
if cond

test/speed_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Test.@testset "Speed Tests" begin
5858

5959
mach = MLJBase.machine(model, df)
6060
Test.@test !isnothing(MLJBase.fit!(mach)) broken =
61-
compute_mode.adback isa ADTypes.AutoForwardDiff
61+
GROUP != "All" && compute_mode.adback isa ADTypes.AutoForwardDiff
6262

6363
@show only(MLJBase.report(mach).stats).time
6464

0 commit comments

Comments
 (0)