File tree 4 files changed +14
-3
lines changed
4 files changed +14
-3
lines changed Original file line number Diff line number Diff line change
1
+ comment : false
2
+ coverage :
3
+ status :
4
+ project : false
5
+ patch : false
6
+
7
+ # docs.codecov.com/docs/github-checks#disabling-github-checks-patch-annotations
8
+ github_checks :
9
+ annotations : false
Original file line number Diff line number Diff line change 18
18
fail-fast : false
19
19
matrix :
20
20
version :
21
- - ' 1.10 ' # oldest supported LTS ( declared in Project.toml)
21
+ - ' lts ' # oldest compatible version declared in Project.toml
22
22
- ' 1'
23
23
experimental :
24
24
- false
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ test_ref(reference, actual) = @test_reference(
39
39
)
40
40
41
41
is_ci () = Base. get_bool_env (" CI" , false )
42
+ is_pkgeval () = Base. get_bool_env (" JULIA_PKGEVAL" , false )
42
43
43
44
# helpers
44
45
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ sombrero(x, y) = 30sinc(√(x^2 + y^2) / π)
61
61
@testset " stringify plot - performance regression" begin
62
62
nightly = occursin (" DEV" , string (VERSION )) # or length(VERSION.prerelease) < 2
63
63
measure = Sys. islinux () && VERSION > v " 1.10.0-" && ! nightly
64
+ margin = is_pkgeval () ? 5 : 1 # apply a perf coefficient for slow runners
64
65
65
66
let p = heatmap (collect (1 : 30 ) * collect (1 : 30 )' )
66
67
@test string (p; color = true ) isa String # 1st pass - ttfp
@@ -69,7 +70,7 @@ sombrero(x, y) = 30sinc(√(x^2 + y^2) / π)
69
70
GC. enable (false )
70
71
stats = @timed string (p; color = true ) # repeated !
71
72
@test stats. bytes / 1e3 < 500 # ~ 292kB on 1.11
72
- @test stats. time * 1e3 < 0.8 # ~ 0.3ms on 1.11
73
+ @test stats. time * 1e3 < margin * 0.8 # ~ 0.3ms on 1.11
73
74
GC. enable (true )
74
75
end
75
76
end
@@ -81,7 +82,7 @@ sombrero(x, y) = 30sinc(√(x^2 + y^2) / π)
81
82
GC. enable (false )
82
83
stats = @timed string (p; color = true ) # repeated !
83
84
@test stats. bytes / 1e3 < 160 # ~ 123kB on 1.11
84
- @test stats. time * 1e3 < 0.5 # ~ 0.2ms on 1.11
85
+ @test stats. time * 1e3 < margin * 0.5 # ~ 0.2ms on 1.11
85
86
GC. enable (true )
86
87
end
87
88
end
You can’t perform that action at this time.
0 commit comments