Hi Rich,

You can install from git+https://github.com/ansible/ansible.git@devel as a
dep in your tox.ini. At least it works for me to test Ansible roles against
devel (
https://github.com/cchurch/ansible-role-testing/blob/master/tox.ini#L21).


On Thu, Feb 27, 2020 at 7:58 PM Rich Megginson <[email protected]> wrote:

>
> https://github.com/ansible-collections/overview/blob/master/README.rst#pre-release-versions-of-ansible-base
>
> I think this should work?
> "Checkout and run the source
> https://github.com/ansible-collection-migration/ansible-base (pip
> install in a Python virtual environment, or do source hacking/env-setup)"
>
> So something like this in my tox.ini?
>
> deps =
>
> git+
> https://github.com/ansible-collection-migration/ansible-base.git@devel#egg=pkg
>
> However, there are no modules installed - I think it is because the
> MANIFEST.in excludes them?
>
> https://github.com/ansible-collection-migration/ansible-base/blob/devel/MANIFEST.in
>
> recursive-include lib/ansible/module_utils/powershell *.psm1
> recursive-include lib/ansible/modules/windows *.ps1
> recursive-include lib/ansible/galaxy/data *.yml *.j2 README.md
> ansible.cfg inventory .git_keep
>
> because that's exactly what I see in
> .tox/env-py38-ansible210/lib/python3.8/site-packages/ansible/modules/
>
> Will I have to use the `source hacking/env-setup` method to use
> ansible2.10 in my tox env?  If so, does anyone have any examples about
> how to do this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-devel/ecba334d-b864-4736-ea54-ac7ea1cc0ef3%40redhat.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/CAH%2BKTJ67sN37%2BNH3Hvk%2B1Jz6d5V4x84_3jVc8xvhj%3DLA2KH-fQ%40mail.gmail.com.

Reply via email to