Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
guidograzioli committed May 22, 2024
1 parent 138107d commit de2c21e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ jobs:
working-directory: ./ansible_collections/${{ inputs.fqcn }}

molecule:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
python_version: ["3.11"]
Expand All @@ -211,7 +211,7 @@ jobs:
max_attempts: 3
command: |
python -m pip install --upgrade pip
pip install --progress-bar off 'molecule==24.2.0' 'molecule-plugins[docker]>=23.0.0' ansible-core~=${{ matrix.ansible_version }}
pip install --progress-bar off 'molecule>=24.2.0' 'molecule-plugins[docker]>=23.0.0' ansible-core~=${{ matrix.ansible_version }}
if [ -f ansible_collections/${{ inputs.fqcn }}/requirements.txt ]; then
echo "=== Installing python deps"
pip install --progress-bar off -r ansible_collections/${{ inputs.fqcn }}/requirements.txt
Expand All @@ -225,6 +225,7 @@ jobs:
ansible-galaxy role install -r ansible_collections/${{ inputs.fqcn }}/molecule/requirements.yml ||:
ansible-galaxy collection install -r ansible_collections/${{ inputs.fqcn }}/molecule/requirements.yml -p /home/runner/.ansible/collections
fi
python -m pip install 'requests<2.32'
exit 0
- name: Run molecule test
Expand Down

0 comments on commit de2c21e

Please sign in to comment.