mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 22:31:25 -07:00
Minor fixes for unit test delegation.
This commit is contained in:
parent
6059246093
commit
be199cfe90
2 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,6 @@ def delegate_docker(args, exclude, require, integration_targets):
|
||||||
# run unit tests unprivileged to prevent stray writes to the source tree
|
# run unit tests unprivileged to prevent stray writes to the source tree
|
||||||
if isinstance(args, UnitsConfig):
|
if isinstance(args, UnitsConfig):
|
||||||
writable_dirs = [
|
writable_dirs = [
|
||||||
'/root/ansible/lib/ansible.egg-info',
|
|
||||||
'/root/ansible/.pytest_cache',
|
'/root/ansible/.pytest_cache',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,7 @@ class DefaultTarFilter(TarFilter):
|
||||||
'.tox',
|
'.tox',
|
||||||
'.git',
|
'.git',
|
||||||
'.idea',
|
'.idea',
|
||||||
|
'.pytest_cache',
|
||||||
'__pycache__',
|
'__pycache__',
|
||||||
'ansible.egg-info',
|
'ansible.egg-info',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue