@ -56,9 +56,7 @@ envlist =
py{27,36}-mode_ansible-ansible{2.10,3,4},
py{27,36}-mode_ansible-ansible{2.10,3,4},
py{311}-mode_ansible-ansible{2.10,3,4,5},
py{311}-mode_ansible-ansible{2.10,3,4,5},
py{313}-mode_ansible-ansible{6,7,8,9,10},
py{313}-mode_ansible-ansible{6,7,8,9,10},
py{27,36,313}-mode_mitogen-distro_centos{6,7,8},
py{27,36,313}-mode_mitogen,
py{27,36,313}-mode_mitogen-distro_debian{9,10,11},
py{27,36,313}-mode_mitogen-distro_ubuntu{1604,1804,2004},
report,
report,
[testenv]
[testenv]
@ -105,39 +103,27 @@ setenv =
NOCOVERAGE_ERASE = 1
NOCOVERAGE_ERASE = 1
NOCOVERAGE_REPORT = 1
NOCOVERAGE_REPORT = 1
PIP_CONSTRAINT = {toxinidir}/tests/constraints.txt
PIP_CONSTRAINT = {toxinidir}/tests/constraints.txt
# Only applicable to MODE=mitogen
distro_centos5: DISTRO = centos5
distro_centos6: DISTRO = centos6
distro_centos7: DISTRO = centos7
distro_centos8: DISTRO = centos8
distro_debian9: DISTRO = debian9
distro_debian10: DISTRO = debian10
distro_debian11: DISTRO = debian11
distro_ubuntu1604: DISTRO = ubuntu1604
distro_ubuntu1804: DISTRO = ubuntu1804
distro_ubuntu2004: DISTRO = ubuntu2004
# Note the plural, only applicable to MODE=ansible
# Ansible 6 - 8 (ansible-core 2.13 - 2.15) require Python 2.7 or >= 3.5 on targets
# Ansible 6 - 8 (ansible-core 2.13 - 2.15) require Python 2.7 or >= 3.5 on targets
ansible6: DISTROS= centos7 centos8 debian9 debian10 debian11 ubuntu1604 ubuntu1804 ubuntu2004
ansible6: MITOGEN_TEST_DISTRO_SPECS = centos7 centos8 debian9 debian10 debian11 ubuntu1604 ubuntu1804 ubuntu2004
ansible7: DISTROS= centos7 centos8 debian9 debian10 debian11 ubuntu1604 ubuntu1804 ubuntu2004
ansible7: MITOGEN_TEST_DISTRO_SPECS = centos7 centos8 debian9 debian10 debian11 ubuntu1604 ubuntu1804 ubuntu2004
ansible8: DISTROS= centos7 centos8 debian9 debian10 debian11 ubuntu1604 ubuntu1804 ubuntu2004
ansible8: MITOGEN_TEST_DISTRO_SPECS = centos7 centos8 debian9 debian10 debian11 ubuntu1604 ubuntu1804 ubuntu2004
# Ansible 9 (ansible-core 2.16) requires Python 2.7 or >= 3.6 on targets
# Ansible 9 (ansible-core 2.16) requires Python 2.7 or >= 3.6 on targets
ansible9: DISTROS= centos7 centos8 debian9 debian10 debian11 ubuntu1804 ubuntu2004
ansible9: MITOGEN_TEST_DISTRO_SPECS = centos7 centos8 debian9 debian10 debian11 ubuntu1804 ubuntu2004
# Ansible 10 (ansible-core 2.17) requires Python >= 3.7 on targets
# Ansible 10 (ansible-core 2.17) requires Python >= 3.7 on targets
ansible10: DISTROS= debian10-py3 debian11-py3 ubuntu2004-py3
ansible10: MITOGEN_TEST_DISTRO_SPECS = debian10-py3 debian11-py3 ubuntu2004-py3
distros_centos: DISTROS= centos6 centos7 centos8
distros_centos: MITOGEN_TEST_DISTRO_SPECS = centos6 centos7 centos8
distros_centos5: DISTROS= centos5
distros_centos5: MITOGEN_TEST_DISTRO_SPECS = centos5
distros_centos6: DISTROS= centos6
distros_centos6: MITOGEN_TEST_DISTRO_SPECS = centos6
distros_centos7: DISTROS= centos7
distros_centos7: MITOGEN_TEST_DISTRO_SPECS = centos7
distros_centos8: DISTROS= centos8
distros_centos8: MITOGEN_TEST_ DISTRO_SPEC S= centos8
distros_debian: DISTROS= debian9 debian10 debian11
distros_debian: MITOGEN_TEST_ DISTRO_SPEC S= debian9 debian10 debian11
distros_debian9: DISTROS= debian9
distros_debian9: MITOGEN_TEST_ DISTRO_SPEC S= debian9
distros_debian10: DISTROS= debian10
distros_debian10: MITOGEN_TEST_ DISTRO_SPEC S= debian10
distros_debian11: DISTROS= debian11
distros_debian11: MITOGEN_TEST_ DISTRO_SPEC S= debian11
distros_ubuntu: DISTROS= ubuntu1604 ubuntu1804 ubuntu2004
distros_ubuntu: MITOGEN_TEST_ DISTRO_SPEC S= ubuntu1604 ubuntu1804 ubuntu2004
distros_ubuntu1604: DISTROS= ubuntu1604
distros_ubuntu1604: MITOGEN_TEST_ DISTRO_SPEC S= ubuntu1604
distros_ubuntu1804: DISTROS= ubuntu1804
distros_ubuntu1804: MITOGEN_TEST_ DISTRO_SPEC S= ubuntu1804
distros_ubuntu2004: DISTROS= ubuntu2004
distros_ubuntu2004: MITOGEN_TEST_ DISTRO_SPEC S= ubuntu2004
mode_ansible: MODE = ansible
mode_ansible: MODE = ansible
mode_ansible: ANSIBLE_SKIP_TAGS = resource_intensive
mode_ansible: ANSIBLE_SKIP_TAGS = resource_intensive
mode_ansible: ANSIBLE_CALLBACK_WHITELIST = profile_tasks
mode_ansible: ANSIBLE_CALLBACK_WHITELIST = profile_tasks