What is the best way to include sample data in Package for CI and precompilation

I am working on MetopDatasets.jl and I want to includes some sample data for CI tests and precompilation. How can I include sample data in packages and still keep the size of the repository down?

I am considering to use lazy artifacts (8. Artifacts · Pkg.jl) so they are just downloaded when needed. Is this a good solution and what are acceptable sizes for artifacts like that?

In one of my packages, I use lazy artifacts for CI tests here and a small sample file for precompilation. Not sure if lazy artifacts is a good way for triggerring precompilations.

1 Like

Thanks for the input. I will try to use the lazy artifacts.