-
Notifications
You must be signed in to change notification settings - Fork 17
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
Use shared GitHub Action for Ruby tests #133
Conversation
if: github.event_name != 'push' | ||
run: | | ||
bundle exec rake test:foreman_leapp -v --trace | ||
bundle exec rake test TEST="test/unit/foreman/access_permissions_test.rb" -v --trace |
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.
we want to seed templates that include `provider_type: Ansible`
require 'foreman_ansible' | ||
require 'foreman_remote_execution' |
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.
this fixes #120
(technically, I guess, foreman_ansible
would be enough, but I felt like being explicit here)
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 think the require statement is correct. I'm not sure how else it could be solved.
Co-authored-by: Ewoud Kohl van Wijngaarden <[email protected]>
No description provided.