mirror of
https://github.com/inspec/inspec
synced 2024-11-26 06:30:26 +00:00
add minimal rake task for runner tests
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
parent
45d59ab3f8
commit
8499919b15
1 changed files with 6 additions and 0 deletions
6
Rakefile
6
Rakefile
|
@ -36,4 +36,10 @@ namespace :test do
|
|||
return if tests.empty?
|
||||
sh(Gem.ruby, 'test/docker.rb', *tests)
|
||||
end
|
||||
|
||||
task :runner do
|
||||
concurrency = ENV['CONCURRENCY'] || 4
|
||||
path = File.join(File.dirname(__FILE__), 'test', 'runner')
|
||||
sh('sh', '-c', "cd #{path} && kitchen converge -c #{concurrency}")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue