From: Sébastien Han Date: Mon, 23 Oct 2017 10:03:01 +0000 (+0200) Subject: Test ansible 2.4.1 X-Git-Tag: beta-3.1.0~78^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2090%2Fhead;p=ceph-ansible.git Test ansible 2.4.1 We now test with Ansible 2.4. We had to change testinfra's version since only recent versions work with 2.4. See: https://github.com/philpep/testinfra/issues/249 Closes: https://github.com/ceph/ceph-ansible/issues/2087 Signed-off-by: Sébastien Han --- diff --git a/tests/requirements.txt b/tests/requirements.txt index c94c6243b..8ead7edab 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,5 +1,4 @@ # These are Python requirements needed to run the functional tests -# 1.6.1 fails with 'testinfra is in an unsupported or invalid wheel' -# see https://github.com/philpep/testinfra/issues/201 -testinfra==1.6.0 +# testinfra < 1.7.1 does not work Ansible 2.4, see https://github.com/philpep/testinfra/issues/249 +testinfra==1.7.1 pytest-xdist diff --git a/tox.ini b/tox.ini index 464da93a5..cd0362635 100644 --- a/tox.ini +++ b/tox.ini @@ -149,6 +149,7 @@ setenv= deps= ansible2.2: ansible==2.2.3 ansible2.3: ansible==2.3.1 + ansible2.4: ansible==2.4.1 -r{toxinidir}/tests/requirements.txt changedir= # tests a 1 mon, 1 osd, 1 mds and 1 rgw xenial cluster using non-collocated OSD scenario