From 9af2d10e3b74b39de3b18b7009bd25de05c8dd80 Mon Sep 17 00:00:00 2001 From: Chithra K <63741367+Chithrak07@users.noreply.github.com> Date: Mon, 23 Nov 2020 23:34:39 +0530 Subject: [PATCH] Add tests (#3) * Add tests * Add status badge --- README.md | 2 ++ molecule/default/verify.yml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ca6e22..c2ac743 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ Drush ===== +![.github/workflows/molecule.yml](https://github.com/AcroMedia/ansible-role-drush/workflows/.github/workflows/molecule.yml/badge.svg) + Install a more modern version of Drush than is normally available in stock yum/apt repositories. Requirements diff --git a/molecule/default/verify.yml b/molecule/default/verify.yml index 0c3e006..e839f97 100644 --- a/molecule/default/verify.yml +++ b/molecule/default/verify.yml @@ -7,10 +7,11 @@ - name: Confirm drush installation is correct. shell: drush --version | grep '8.1.17' changed_when: false - + - debug: var: "{{ item }}" with_items: - ansible_distribution - ansible_distribution_release - ansible_distribution_version +