Hi, I'm new to the language and I'm learning/experimenting on how to use tests in Julia
The issue that I encounter when I run the tests under my environment like this
(testing-pluto) pkg> test
I get an error of failing precompilation of Plots
that cascades from libvorbis_jll -> FFMPEG_jll -> FFMPEG -> Plots
ERROR: LoadError: LoadError: ArgumentError: Package libvorbis_jll [e895b1f3-4dc4-43e3-88f4-b83e006265b7] is required but does not seem to be installed:
- Run `Pkg.instantiate()` to install all recorded dependencies.
.
.
.
LoadError: Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to /home/runner/.julia/compiled/v1.5/Plots/ld3vC_31teM.ji.
What I don't understand is that I'm able to run the tests script if I just execute them as a regular script like with
julia --color=yes --check-bounds=yes --depwarn=yes --project -e 'cd("test");include("runtests.jl")'
So is pretty clear that some other things happen when you execute the tests using Pkg.test()
Can you explain what can be happening or point me where to learn about it?
So I can try to fix it or file an issue where it corresponds
Thanks!
For repro you can look at the code in
here, look at the add_tests branch.
And I set up two GH actions so its possible to see the the full stack trace of both ways to execute the tests.
Last updated: Nov 06 2024 at 04:40 UTC