-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
constraint-sets don't encompass tests, benchmarks, or Haddocks #182
Comments
It's a trade-off.
I experienced that for costly jobs (imagine testing And the use-case I had in mind was to test dependency spans, not flag configuration. Therefore current default. That said, what is done per constraint set can be made configurable, e.g.
someone have to do it though. |
I would be fine with making this opt-in. To make my request more concrete, the package which needs this feature is |
Resolving haskell-CI/haskell-ci#182 See PR haskell-CI/haskell-ci#212
partially fixed by #212; if someone needs to build benchmarks or/and haddocks; please make a PR; it should be straight forward now. |
Without the ability to support all of the main build actions that the main code path supports (including benchmarks and Haddocks), I wouldn't consider this feature to be complete. |
Currently, if you specify one or more
constraint-set
s (usinghaskell-ci
's--config
) flag, then it will generate a line in.travis.yml
for eachconstraint-set
that looks like this:But this only builds the library itself. It doesn't build the tests or benchmarks, and moreover, it doesn't run the tests or build Haddocks, which means that it's possible for things to fail under this
constraint-set
but not be detected by Travis.This is currently why I don't use
constraint-set
s on more projects, as I can't be sure that I don't accidentally introduce some regression in a non-standard flag configuration.The text was updated successfully, but these errors were encountered: