From 1b9845cd9aa54ab3eed3d2926e3aa3fd9b5e2472 Mon Sep 17 00:00:00 2001 From: wiktor2200 Date: Sat, 11 Nov 2023 17:29:57 +0100 Subject: [PATCH] test molecule destroy before test --- .github/workflows/tests.yml | 4 +++- .github/workflows/tests_latest.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9c8391dc..57ed0ad8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,7 +43,9 @@ jobs: python3 -m pip install --constraint=.github/workflows/constraints.txt ansible 'molecule-plugins[docker]' docker netaddr - name: Run Molecule tests - run: molecule test + run: | + molecule destroy + molecule test env: PY_COLORS: "1" ANSIBLE_FORCE_COLOR: "1" diff --git a/.github/workflows/tests_latest.yml b/.github/workflows/tests_latest.yml index f1d71535..61f70ee7 100644 --- a/.github/workflows/tests_latest.yml +++ b/.github/workflows/tests_latest.yml @@ -46,7 +46,9 @@ jobs: python3 -m pip install --constraint=.github/workflows/constraints.txt ansible 'molecule-plugins[docker]' docker netaddr - name: Run Molecule tests - run: molecule test + run: | + molecule destroy + molecule test env: PY_COLORS: "1" ANSIBLE_FORCE_COLOR: "1"