-
Notifications
You must be signed in to change notification settings - Fork 18
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
[RFE] default_suite configuration #68
Comments
Yeah I think this is a great suggestion, started thinking about it after not running the javascript specs for Rails 6 As for What if we add a When calling from a manageiq-cross_repo-tests .travis.yml it can be That leaves how to call this easily from miq-bot, we could have some separator to indicate the test_suite requested like: That doesn't cover 100% of what you're looking to do, especially the "default suites" which would also be really nice (like always run spec and spec:javascript for ui-classic). |
@agrare For the most part, I think we already have that: https://github.com/ManageIQ/manageiq-cross_repo/pull/64/files The problem, however, lies that for
Both of which, are really needed to actually run the JS specs. To complicate matters, |
Right you could add Is there a reason why most of that setup couldn't be done in |
@agrare because |
We do call |
Again, doesn't cover If you want to just see what I am talking about, just try running the javascript tests for |
Just threw an example together but what about something like #69 |
@agrare Oh, I do like this idea. Let me throw together a cross repo run for you to text this out. |
Okay so with #69 you can give a I think the best next step would be to add a way to do this with Thinking maybe It has to be something that we don't use for branch/pr/sha so |
@agrare maybe just have it be a comma delimited list in parenthesis following the previous syntax?
|
I like @NickLaMuro 's suggestion |
This is really a two fold feature request:
rake
command?) is run for a given repodefault_suite
(s) for each repo (if it different than the default.I have a lot of ideas on how we could do this, but to start, it might make sense to just have a
test_suite_overrides.yml
(name pending) where it will override what rake task is used when a given repo is run.manageiq-ui-classic
for example probably wants the javascript tests run instead of just therake spec
task. That said, even just that poses problems because then we also have to consider any setup to make sure that thenpm
/node
dependencies are in place, which will require some other features to be in place for this to function.My thoughts on this is that it would probably be easier to just move scripts like
setup.sh
intorake
tasks, so that we can use prerequisite tasks to make the following easier to make custom for each repo as needed:manageiq-cross_repo/lib/manageiq/cross_repo/runner.rb
Lines 38 to 40 in 4698c81
But that might be a minority preference from myself.
There is probably more to this request then what I have outlined above, but I think it is something to consider as
manageiq-ui-classic
was a perfect example in the Rails 6 upgrade where it was a complete blind spot. Specifically because we didn't test the javascript perspective, when it was a factor in allowing the test suite to pass properly once the effort was merged.(though, in all fairness, the app did seem to boot just fine, just that the tests weren't functioning as a result, and became worthless).
The text was updated successfully, but these errors were encountered: