I have created a package Xnumber
.And I have not registered it.
Now, I am creating another package(SHbundle
) which uses the above package.Now in the julia REPL locally when I execute the following code:
julia> add "https://gitlab.com/vyush/Xnumber.jl.git"
julia> using Xnumber
It works fine locally and I can use the function but On pushing to SHbundle after adding Xnumber as dependency. The pipeline script fail. The command being executed is
- |
julia --project=@. -e '
using Pkg
Pkg.build()
Pkg.test(coverage=true)'
The error that I get is ERROR: expected package Xnumber [fdc6275c] to be registered
. The package works fine locally but is giving error while executing the pipeline script.
I there any workaround for this without registering the packages.
/Manifest.toml
in your .gitignore
fileManifest.toml
file after julia> add "https://gitlab.com/vyush/Xnumber.jl.git"
Pkg.instantiate()
in your pipeline