Skip to content

Commit

Permalink
Fixing CI on nightly broke regular CI on older versions - whoops!
Browse files Browse the repository at this point in the history
  • Loading branch information
Seelengrab committed Mar 13, 2024
1 parent 7e3cbc1 commit c00aa87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ const numTypes = union(getSubtypes(Integer), getSubtypes(AbstractFloat))
@testset "numsToZero" begin
@testset "$T" for T in numTypes
if VERSION >= v"1.7"
@test numsToZero(T) broken=(T == BigInt || T == BigFloat || T == Core.BFloat16)
v11 = VERSION.major == 1 && VERSION.minor >= 11
@test numsToZero(T) broken=(T == BigInt || T == BigFloat || (v11 && T == Core.BFloat16))
else
# we don't need to add Core.BFloat16 here, since it was only added in 1.11
if T != BigInt && T != BigFloat
Expand Down

0 comments on commit c00aa87

Please sign in to comment.