-
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
A middle ground between --tests and --no-tests #236
Comments
I was thinking of introducing
|
Sounds good to me! If these flags do intersect with |
Intersection means hopefully obvious: only built tests can be run, but you can run tests on less jobs. E.g.
|
... and with
you won't build (and run) any tests. |
- Add global --run-tests/--no-run-tests/--run-tests-jobs to specify when we actually run tests (maybe less then what we build!) - Add steps configuration to constraint sets: - tests - run-tests - benchmarks - haddock - these are only booleans for now, if you need more control, make another constraint set!
|
Currently,
haskell-ci
gives you the ability to prevent building any test suites using the--no-tests
flag. This is almost what I need, but not quite. I have a project where I can't run the test suites on Travis due to the tests' reliance on a web browser being run at the same time. That being said, I still want to build (but not run) the test suite on Travis so as to ensure that the code doesn't bitrot. Unfortunately,--no-tests
is too heavy-handed, as it prevents the test suites from being built in the first place.Could there be a flag that permits the test suite to be built but not run, similarly to how benchmarks are currently handled? I'm not sure what the best name for this flag should be, or if it would make sense to make
--no-tests
further configurable to allow this.The text was updated successfully, but these errors were encountered: