mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Add ansible-test options and docs. (#26823)
* All integration commands support --continue-on-error * The network-integration command supports --inventory * Add landing page for compile test docs. * Add bot documentation links.
This commit is contained in:
@@ -216,6 +216,10 @@ def parse_args():
|
||||
action='store_true',
|
||||
help='retry failed test with increased verbosity')
|
||||
|
||||
integration.add_argument('--continue-on-error',
|
||||
action='store_true',
|
||||
help='continue after failed test')
|
||||
|
||||
integration.add_argument('--debug-strategy',
|
||||
action='store_true',
|
||||
help='run test playbooks using the debug strategy')
|
||||
@@ -251,6 +255,10 @@ def parse_args():
|
||||
action='append',
|
||||
help='network platform/version').completer = complete_network_platform
|
||||
|
||||
network_integration.add_argument('--inventory',
|
||||
metavar='PATH',
|
||||
help='path to inventory used for tests')
|
||||
|
||||
windows_integration = subparsers.add_parser('windows-integration',
|
||||
parents=[integration],
|
||||
help='windows integration tests')
|
||||
|
||||
Reference in New Issue
Block a user