Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Support running ansible-test on collections outside a collection root #60215
When I develop my Ansible Collections, I want to be able to use a typical development workflow:
Currently, if I do this I get the following error:
I feel like this presents a pretty significant burden on collection maintainers and contributors, because a very common workflow (especially if I'm not on my main workstation for some reason) is: clone repo, hack on it, run integration tests, commit changes, push to PR.
If I have to create an arbitrary directory structure, then clone into that structure, it's a lot of overhead. Other existing testing tools like
OS / ENVIRONMENT
STEPS TO REPRODUCE
Integration tests, if any, would be run.
If this is also a requirement for running ansible-test in CI, that means everyone who wants to use ansible-test in CI will have to add boilerplate code at the beginning to copy the cloned project into some other directory, adding at minimum one or two extra lines of code to every CI configuration.