Skip to content

Commit

Permalink
Cap ansible-compat in GitHub workflow
Browse files Browse the repository at this point in the history
ansible-compat 4 includes breaking changes which are incompatible
with older versions of Molecule. Compatibility should be restored
in the Molecule 5.x line but this also contains backwards
incompatible changes which should be reviewed
  • Loading branch information
sbesson committed May 25, 2023
1 parent 1dfa237 commit 03cf834
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
with:
python-version: '3.9'
- name: Install Ansible & Molecule
# TODO: review upgrade to Molecule 5.x
run: pip install "ansible<8" ansible-lint flake8 \
"molecule<5" molecule-plugins[docker] pytest-testinfra
"molecule<5" "ansible-compat<4" molecule-plugins[docker] pytest-testinfra
- name: Run Molecule
run: cd ansible && molecule test -s "${{ matrix.scenario }}"

0 comments on commit 03cf834

Please sign in to comment.