diff --git a/pixi.toml b/pixi.toml index 4e1aed0f8..80b6204d6 100644 --- a/pixi.toml +++ b/pixi.toml @@ -30,9 +30,9 @@ install = { depends_on = [ "install-pre-commit", ] } # Julia -update-registry-julia = "julia --eval='using Pkg; Registry.update()'" -update-manifest-julia = "julia --project --eval='using Pkg; Pkg.update()'" -instantiate-julia = { cmd = "julia --project --eval='using Pkg; Pkg.instantiate()'", env = { JULIA_SSL_CA_ROOTS_PATH = "" } } +# Clear SSL_CERT_DIR to avoid Julia warnings, see https://github.com/JuliaLang/Downloads.jl/issues/244 +update-registry-julia = { cmd = "julia --eval='using Pkg; Registry.update()'", env = { SSL_CERT_DIR = "" } } +instantiate-julia = { cmd = "julia --project --eval='using Pkg; Pkg.instantiate()'", env = { SSL_CERT_DIR = "" } } initialize-julia = { depends_on = [ "update-registry-julia", "instantiate-julia", @@ -70,7 +70,7 @@ lint = { depends_on = [ build = { "cmd" = "julia --project build.jl", cwd = "build", depends_on = [ "generate-testmodels", "initialize-julia", -], env = { JULIA_SSL_CA_ROOTS_PATH = "" } } +], env = { SSL_CERT_DIR = "", JULIA_SSL_CA_ROOTS_PATH = "" } } remove-artifacts = "julia --eval 'rm(joinpath(Base.DEPOT_PATH[1], \"artifacts\"), force=true, recursive=true)'" # Tests test-ribasim-cli = "pytest --numprocesses=4 --basetemp=build/tests/temp --junitxml=report.xml build/tests"