diff --git a/src/precompile.jl b/src/precompile.jl index 70da728..06f6f60 100644 --- a/src/precompile.jl +++ b/src/precompile.jl @@ -1,9 +1,10 @@ PrecompileTools.@setup_workload begin + notebook = joinpath(@__DIR__, "..", "test", "examples", "cell_types.qmd") + script = joinpath(@__DIR__, "..", "test", "examples", "cell_types.jl") + results = Dict{String,@NamedTuple{error::Bool, data::Vector{UInt8}}}() PrecompileTools.@compile_workload begin - server = Server() - notebook = joinpath(@__DIR__, "..", "test", "examples", "cell_types.qmd") - run!(server, notebook; output = IOBuffer(), showprogress = false) - run!(server, notebook; output = IOBuffer(), showprogress = false) - close!(server) + raw_text_chunks(notebook) + raw_text_chunks(script) + process_results(results) end end