Skip to content

Commit 511d8f7

Browse files
committed
CI: List existing modules
This adds an additional test to list all modules that openbolt is aware of. Sideeffect: makes debugging easier.
1 parent aab7e4e commit 511d8f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/integration/apply_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434

3535
# The following are run with both *nix and Windows targets.
3636
shared_examples 'agentful tests' do |targets|
37-
it 'runs a ruby task' do
37+
it 'lists all modules & runs a ruby task' do
38+
puts JSON.pretty_generate(run_cli_json(%w[module show], project: project))
3839
results = run_cli_json(%W[task run basic::ruby_task -t #{targets}], project: project)
3940

4041
results['items'].each do |result|

0 commit comments

Comments
 (0)