Skip to content

Commit

Permalink
reduce calls
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Nov 12, 2024
1 parent 72387b5 commit 76f9be1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions PlotsBase/test/test_backends.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ is_pkgeval() || @testset "Backends" begin
)
@test filesize(fn) > 1_000
end
Sys.islinux() && for be TEST_BACKENDS
is_latest("release") || continue
(Sys.islinux() && is_latest("release")) && for be TEST_BACKENDS
skip = vcat(PlotsBase._backend_skips[be], broken_examples)
PlotsBase.test_examples(be; skip, callback, disp = is_ci(), strict = true) # `ci` display for coverage
closeall()
Expand Down
3 changes: 1 addition & 2 deletions PlotsBase/test/test_preferences.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,10 @@ const DEBUG = false
@test run(```$(Base.julia_cmd()) $script```) |> success
end

is_pkgeval() || for pkg TEST_PACKAGES
(!is_pkgeval() && is_latest("release")) && for pkg TEST_PACKAGES
@testset "persistent backend $pkg" begin
be = TEST_BACKENDS[pkg]
if is_ci()
is_latest("release") || continue
(Sys.isapple() && be :gaston) && continue # FIXME: hangs
(Sys.iswindows() && be :plotlyjs) && continue # FIXME: OutOfMemory
end
Expand Down

0 comments on commit 76f9be1

Please sign in to comment.