-
Notifications
You must be signed in to change notification settings - Fork 83
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
Add ci_reporter_minitest Rakefile dependency for nightly #937
Conversation
It looks like the issue has something to do with system fileutil vs bundler file utils: hammer-cli-foreman
hammer-cli-katello
|
Weird, even though the source locations are different, the implementation of rm_rf is the same!
|
81cf702
to
aa102c9
Compare
Interesting...
Looks like some args are sneaking in. I think some library here is out of date. fileutils |
Looks like h-c-f uses a much newer version of Rake:
|
55a16ca
to
d4a0132
Compare
d4a0132
to
6212f7d
Compare
|
||
Rake::TestTask.new do |t| | ||
t.libs << "lib" | ||
t.test_files = Dir.glob('test/**/*_test.rb') | ||
t.verbose = true | ||
t.warning = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I turned the warnings off because upgrading Rake caused all sorts of warnings to start popping up, many come from libraries. Example:
/home/vagrant/hammer-cli-katello/.vendor/ruby/2.7.0/gems/clamp-1.3.2/lib/clamp/attribute/instance.rb:23: warning: instance variable @subcommand_arguments not initialize
/home/vagrant/hammer-cli-katello/.vendor/ruby/3.0.0/gems/fast_gettext-2.3.0/lib/fast_gettext/vendor/string.rb:70: warning: too many arguments for format string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's fine, rather have green tests than ruby warnings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, sorry you had to do some rubocop work
Adds a requirement to the rake file so it can actually run.
Locally I'm seeing:
which is really odd since it's an
rm_rf
call that's failing, but it works locally in hammer-cli-foreman. Perhaps it has something to do with my system, but I'm curious if others reproduce the error above too. If they do, then perhaps our CI will as well.