diff options
author | Jordan Borean <jborean93@gmail.com> | 2019-08-28 07:03:23 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-28 07:03:23 +1000 |
commit | faaa669764faba8f2a1b4292afc3bc494e4a1932 (patch) | |
tree | a64a97e5136d71d2c880aa51c97f4ca3ace209a7 /test/lib/ansible_test/_internal/target.py | |
parent | 543801319180d606bbe475a3c7c42a73ecbb04c0 (diff) | |
download | ansible-faaa669764faba8f2a1b4292afc3bc494e4a1932.tar.gz |
PowerShell - Added coverage collector (#59009)
* Added coverage collection for PowerShell - ci_complete ci_coverage
* uncomment out coverage uploader call
* Generate XML for PowerShell coverage
* Use whitelist to exclude coverage run on non content plugins
* Remove uneeded ignore entry
* Try to reduce diff in cover.py
* Fix up coverage report package - ci_complete ci_coverage
Diffstat (limited to 'test/lib/ansible_test/_internal/target.py')
-rw-r--r-- | test/lib/ansible_test/_internal/target.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/lib/ansible_test/_internal/target.py b/test/lib/ansible_test/_internal/target.py index de923ee1de..6a4aed92ad 100644 --- a/test/lib/ansible_test/_internal/target.py +++ b/test/lib/ansible_test/_internal/target.py @@ -180,6 +180,13 @@ def walk_compile_targets(include_symlinks=True): return walk_test_targets(module_path=data_context().content.module_path, extensions=('.py',), extra_dirs=('bin',), include_symlinks=include_symlinks) +def walk_powershell_targets(include_symlinks=True): + """ + :rtype: collections.Iterable[TestTarget] + """ + return walk_test_targets(module_path=data_context().content.module_path, extensions=('.ps1', '.psm1'), include_symlinks=include_symlinks) + + def walk_sanity_targets(): """ :rtype: collections.Iterable[TestTarget] |