Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
#256 Move PiP requirements to a separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
T2L committed Nov 16, 2021
1 parent 172681f commit b9cc586
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,16 @@ jobs:
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip
key: ${{ runner.os }}-pip-${{ hashFiles('./molecule/requirements.txt') }}

- name: Cache Python environment
uses: actions/cache@v2
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('./molecule/requirements.txt') }}

- name: Install Molecule and it's dependencies
run: pip install --upgrade --upgrade-strategy eager ansible==4.* ansible-lint yamllint molecule python-vagrant molecule-vagrant
run: pip install --upgrade --upgrade-strategy eager --requirement ./molecule/requirements.txt

- name: Run Molecule tests
run: molecule test
Expand Down
6 changes: 6 additions & 0 deletions molecule/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ansible==4.*
ansible-lint
yamllint
molecule
python-vagrant
molecule-vagrant

0 comments on commit b9cc586

Please sign in to comment.