Skip to content

Commit

Permalink
Give "slow" packages even more time
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge authored Nov 23, 2024
1 parent ff138cf commit ff5dce8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/evaluate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,11 @@ function evaluate_test(config::Configuration, pkg::Package; use_cache::Bool=true
name = "$(pkg.name)-$(config.name)-$(randstring(rng))"

# grant some packages more test time
# As of Julia 1.12, PackageCompiler takes even more time (more than 90 minutes),
# so let's do *3 instead of *2. Our slow list is very short (just two packages
# at the time or writing), so I think it's fine.
if pkg.name in slow_list
config = Configuration(config; time_limit=config.time_limit*2)
config = Configuration(config; time_limit=config.time_limit*3)
end

# we create our own workdir so that we can reuse it
Expand Down

0 comments on commit ff5dce8

Please sign in to comment.