Skip to content

Commit

Permalink
feat: free disk space only for molecule
Browse files Browse the repository at this point in the history
  • Loading branch information
escalate committed Jun 6, 2024
1 parent 9c12eab commit fc63ac7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,6 @@ jobs:
name: Ansible
runs-on: ubuntu-latest
steps:
- name: Free disk space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false

- name: Check out repository
uses: actions/checkout@v4

Expand Down Expand Up @@ -276,8 +271,14 @@ jobs:
with:
files: "molecule"

- name: Install molecule
- name: Free disk space
if: steps.check_molecule.outputs.files_exists == 'true'
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false

- name: Install molecule

run: |
pip3 install --disable-pip-version-check molecule molecule-plugins[docker] pytest-testinfra
Expand Down

0 comments on commit fc63ac7

Please sign in to comment.