cabal-validate
: Steps change depending on options which choose steps
#10565
Labels
cabal-validate
validate.sh (cabal-validate) test suite runner
meta: tracking
re: devx
Improving the cabal developer experience (internal issue)
type: testing
Issues about project test suites
The
build
step will build... the stuff used by the other steps you're running!E.g.
solver-benchmarks
is only built if--solver-benchmarks
is passed... but if you use--step solver-benchmarks-run
manually, it won't be built.cabal-install-solver
will not be built if--lib-only
is passed.So this introduces two confusing behaviors:
./validate.sh -s build && ./validate.sh -s solver-benchmarks
will error becausesolver-benchmarks
aren't built../validate.sh -s build
won't catch compile errors insolver-benchmarks
, which is a little confusing../validate.sh -s build
should... build everything that gets tested in CI, I think!Related:
cabal-validate
: Too many ways to choose steps #10564cabal-validate
: Steps are not granular enough, add groups of steps #10563Proposal: There should be a
build
group which builds everything, and stepsbuild-lib
,build-cli
, andbuild-solver-benchmarks
which build specific sets of libraries.The text was updated successfully, but these errors were encountered: