File tree Expand file tree Collapse file tree 4 files changed +5
-10
lines changed Expand file tree Collapse file tree 4 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 23
23
fail-fast : false
24
24
matrix :
25
25
version :
26
- - ' 1.3 '
26
+ - ' 1.6 '
27
27
- ' 1'
28
28
- pre
29
29
os :
36
36
with :
37
37
version : ${{ matrix.version }}
38
38
# ARM64 on macos-latest is neither supported by older Julia versions nor setup-julia
39
- arch : ${{ matrix.os == 'macos-latest' && matrix.version ! = '1.3 ' && 'aarch64' || 'x64' }}
39
+ arch : ${{ matrix.os == 'macos-latest' && matrix.version > = '1.8 ' && 'aarch64' || 'x64' }}
40
40
show-versioninfo : true
41
41
- uses : julia-actions/cache@v2
42
42
- uses : julia-actions/julia-buildpkg@v1
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ StatsAPI = "1.6"
59
59
StatsBase = " 0.32, 0.33, 0.34"
60
60
StatsFuns = " 0.9.15, 1"
61
61
Test = " <0.0.1, 1"
62
- julia = " 1.3 "
62
+ julia = " 1.6 "
63
63
64
64
[extras ]
65
65
Aqua = " 4c88cf16-eb10-579e-8560-4a9242c79595"
Original file line number Diff line number Diff line change @@ -9,9 +9,6 @@ import Aqua
9
9
Aqua. test_all (
10
10
Distributions;
11
11
ambiguities = false ,
12
- # On older Julia versions, installed dependencies are quite old
13
- # Thus unbound type parameters show up that are fixed in newer versions
14
- unbound_args = VERSION >= v " 1.6" ,
15
12
)
16
13
# Tests are not reliable on older Julia versions and
17
14
# show ambiguities in loaded packages
Original file line number Diff line number Diff line change @@ -50,10 +50,8 @@ function test_cgf(dist, ts)
50
50
d (f) = Base. Fix1 (ForwardDiff. derivative, f)
51
51
κ₁ = d (Base. Fix1 (cgf, dist))(0 )
52
52
@test κ₁ ≈ mean (dist)
53
- if VERSION >= v " 1.4"
54
- κ₂ = d (d (Base. Fix1 (cgf, dist)))(0 )
55
- @test κ₂ ≈ var (dist)
56
- end
53
+ κ₂ = d (d (Base. Fix1 (cgf, dist)))(0 )
54
+ @test κ₂ ≈ var (dist)
57
55
for t in ts
58
56
val = @inferred cgf (dist, t)
59
57
@test isfinite (val)
You can’t perform that action at this time.
0 commit comments