From 34e6e09fb834a2f06a7a5506c3b39766ff5265f7 Mon Sep 17 00:00:00 2001 From: Mike Graves Date: Wed, 24 Mar 2021 23:52:59 -0400 Subject: [PATCH] Restrict molecule version to <3.3.0 (#396) The 3.3.0 version of molecule broke the test suite. Restricting the version until we can either fix upstream or decide on the best workaround. --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e490c60..2807a59c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,8 +84,10 @@ jobs: with: python-version: ${{ matrix.python_version }} + # The 3.3.0 release of molecule introduced a breaking change. See + # https://github.com/ansible-community/molecule/issues/3083 - name: Install molecule and openshift dependencies - run: pip install ansible molecule yamllint openshift flake8 + run: pip install ansible "molecule<3.3.0" yamllint openshift flake8 # The latest release doesn't work with Molecule currently. # See: https://github.com/ansible-community/molecule/issues/2757 @@ -177,7 +179,7 @@ jobs: python-version: ${{ matrix.python_version }} - name: Install molecule and openshift dependencies - run: pip install "ansible>=2.9.0,<2.10.0" molecule yamllint openshift flake8 + run: pip install "ansible>=2.9.0,<2.10.0" "molecule<3.3.0" yamllint openshift flake8 - name: Create default collection path symlink run: |