diff --git a/.github/workflows/ruby_tests.yml b/.github/workflows/ruby_tests.yml index 9b70dccf6..96ff908b0 100644 --- a/.github/workflows/ruby_tests.yml +++ b/.github/workflows/ruby_tests.yml @@ -69,4 +69,3 @@ jobs: if: github.event_name != 'push' run: | bundle exec rake test:foreman_ansible - bundle exec rake test TEST="test/unit/foreman/access_permissions_test.rb" diff --git a/lib/tasks/foreman_ansible_tasks.rake b/lib/tasks/foreman_ansible_tasks.rake index 5e6c1cbb1..9024ac72a 100644 --- a/lib/tasks/foreman_ansible_tasks.rake +++ b/lib/tasks/foreman_ansible_tasks.rake @@ -7,6 +7,7 @@ namespace :test do test_dir = File.join(__dir__, '..', '..', 'test') t.libs << ['test', test_dir] t.pattern = "#{test_dir}/**/*_test.rb" + t.test_files = [Rails.root.join('test/unit/foreman/access_permissions_test.rb')] t.verbose = false t.warning = false end