The tox-ansible plugin dynamically creates a full matrix of python interpreter and ansible-core version environments for running integration, sanity, and unit for an ansible collection both locally and in a Github action. tox virtual environments are leveraged for collection building, collection installation, dependency installation, and testing.
contains --parents which is not supported on MacOS. ~Changing to -p should solve it for all platforms.~ -p is not doing the same, so on MacOS ppl would have to install GNU cp.
Can you look into other alternatives to make this more portable?
Hi team tox-ansible fails on MacOS with an error for cp not supporting
--parents
.This line: https://github.com/ansible/tox-ansible/blob/d9c7d08dba0d9d01de0ceb38ce17596bb28fe648/src/tox_ansible/plugin.py#L464
contains
--parents
which is not supported on MacOS. ~Changing to-p
should solve it for all platforms.~-p
is not doing the same, so on MacOS ppl would have to install GNUcp
.Can you look into other alternatives to make this more portable?
Thanks