Commit a82f5bde authored by nimrod's avatar nimrod
Browse files

- Upgraded Molecule to 1.14.0, updated the docs and molecule.yml

accordingly.
parent 1f52f9ae
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -29,21 +29,21 @@ See :code:`tests/playbook.yml`.
Testing
Testing
-------
-------


Testing requires Virtualbox and Vagrant and Python 2.7. Install the Python
Testing requires Virtualbox, Vagrant and Python 2.7. Install the Python
dependencies, add pre-commit hooks by running:
dependencies, dependent roles and roles required for testing:


.. code:: shell
.. code:: shell


    pip install -r tests/requirements.txt
    pip install -r tests/requirements.txt
    pre-commit install
    ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles
    molecule dependency


To run the full test suite:
To run the full test suite:


.. code:: shell
.. code:: shell


    ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles
    molecule test --platform all
    pre-commit run --all-files
    pre-commit run --all-files
    molecule test --platform all


License
License
-------
-------
+3 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,9 @@ ansible:
  playbook: tests/playbook.yml
  playbook: tests/playbook.yml
  diff: True
  diff: True
  config_file: ../ansible.cfg
  config_file: ../ansible.cfg

dependencies:
  name: galaxy
  requirements_file: tests/requirements.yml
  requirements_file: tests/requirements.yml


vagrant:
vagrant:
+1 −1
Original line number Original line Diff line number Diff line
ansible==2.2.0.0
ansible==2.2.0.0
testinfra==1.4.3
testinfra==1.4.3
molecule==1.13.0
molecule==1.14.0
ansible-lint==3.4.4
ansible-lint==3.4.4
pre-commit==0.9.3
pre-commit==0.9.3
piprot==0.9.7
piprot==0.9.7