The current make test runs the following command (I'm omitting the sysimage for brevity)
julia --project=@. test/runtests.jl
This pipeline was broken by #2, which made Cbc and Test test-only dependencies.
If you run make test on the current dev branch, you will get an error Cbc not installed.
This PR fixes that, and uses the same pipeline for make test as that used in CI:
julia --project=@. -e 'using Pkg; Pkg.test("UnitCommitment")'
Running tests via Julia's Pkg ensures that all test-only dependencies are properly installed.
The current
make test
runs the following command (I'm omitting the sysimage for brevity)This pipeline was broken by #2, which made
Cbc
andTest
test-only dependencies. If you runmake test
on the currentdev
branch, you will get an errorCbc not installed
.This PR fixes that, and uses the same pipeline for
make test
as that used in CI:Running tests via Julia's
Pkg
ensures that all test-only dependencies are properly installed.