mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Fix ansible-test unit test execution. (#45772)
* Fix ansible-test units requirements install. * Run unit tests as unprivileged user under Docker.
This commit is contained in:
@@ -335,6 +335,10 @@ def parse_args():
|
||||
action='store_true',
|
||||
help='collect tests but do not execute them')
|
||||
|
||||
units.add_argument('--requirements-mode',
|
||||
choices=('only', 'skip'),
|
||||
help=argparse.SUPPRESS)
|
||||
|
||||
add_extra_docker_options(units, integration=False)
|
||||
|
||||
sanity = subparsers.add_parser('sanity',
|
||||
|
||||
Reference in New Issue
Block a user