Restore ansible-test coverage config.
Reverts a portion of the changes made in https://github.com/ansible/ansible/pull/70028
This commit is contained in:
parent
6b30efa454
commit
79021df2e4
2 changed files with 3 additions and 9 deletions
|
@ -406,14 +406,8 @@ COVERAGE_REMOTE_PATHS:
|
|||
- This is for internal use only.
|
||||
default: '*'
|
||||
env:
|
||||
- name: _ANSIBLE_COVERAGE_REMOTE_WHITELIST
|
||||
deprecated:
|
||||
why: Normalizing names to new standard.
|
||||
version: "2.15"
|
||||
alternatives: '_ANSIBLE_COVERAGE_REMOTE_PATHS'
|
||||
- name: '_ANSIBLE_COVERAGE_REMOTE_PATHS'
|
||||
version_added: '2.11'
|
||||
type: pathlist
|
||||
- {name: _ANSIBLE_COVERAGE_REMOTE_PATH_FILTER}
|
||||
type: str
|
||||
version_added: '2.9'
|
||||
ACTION_WARNINGS:
|
||||
name: Toggle action warnings
|
||||
|
|
|
@ -394,7 +394,7 @@ def get_coverage_environment(args, target_name, version, temp_path, module_cover
|
|||
# is responsible for adding '={language version}=coverage.{hostname}.{pid}.{id}'
|
||||
env['_ANSIBLE_COVERAGE_REMOTE_OUTPUT'] = os.path.join(remote_temp_path, '%s=%s=%s' % (
|
||||
args.command, target_name, args.coverage_label or 'remote'))
|
||||
env['_ANSIBLE_COVERAGE_REMOTE_PATHS'] = os.path.join(data_context().content.root, '*')
|
||||
env['_ANSIBLE_COVERAGE_REMOTE_PATH_FILTER'] = os.path.join(data_context().content.root, '*')
|
||||
|
||||
return env
|
||||
|
||||
|
|
Loading…
Reference in a new issue