mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 19:32:47 +00:00
Update handling of the non_local test alias.
Previously the alias disabled all code coverage collection. Now it only disables Ansible module code coverage collection.
This commit is contained in:
@@ -10,8 +10,8 @@ def main():
|
||||
name = os.path.basename(__file__)
|
||||
args = [sys.executable]
|
||||
|
||||
coverage_config = os.environ.get('_ANSIBLE_COVERAGE_CONFIG')
|
||||
coverage_output = os.environ.get('_ANSIBLE_COVERAGE_OUTPUT')
|
||||
coverage_config = os.environ.get('COVERAGE_CONF')
|
||||
coverage_output = os.environ.get('COVERAGE_FILE')
|
||||
|
||||
if coverage_config:
|
||||
if coverage_output:
|
||||
|
||||
Reference in New Issue
Block a user