Skip to content

Commit ff48317

Browse files
committed
Free space on GHA runner
1 parent 3f988c6 commit ff48317

1 file changed

Lines changed: 17 additions & 11 deletions

File tree

.github/workflows/check-bioc.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -228,19 +228,25 @@ jobs:
228228
remotes::install_local(dependencies = TRUE, repos = BiocManager::repositories(), build_vignettes = FALSE, upgrade = TRUE, force = TRUE)
229229
shell: Rscript {0}
230230

231-
- name: Detect pyenv and virtualenv cache directories
231+
- name: Calculate and Sort Directory Sizes
232232
run: |
233-
BatChef:::print_basilisk_cache_paths()
234-
shell: Rscript {0} >> $GITHUB_ENV
233+
echo "Calculating directory sizes..."
234+
du -h --max-depth=3 / | sort -rh
235+
shell: bash
235236

236-
- name: Cache pyenv and virtualenv
237-
if: "!contains(github.event.head_commit.message, '/nocache')"
238-
uses: actions/cache@v4
239-
with:
240-
path: |
241-
${{ env.PYENV_CACHE_DIR }}
242-
${{ env.VIRTUALENV_CACHE_DIR }}
243-
key: ${{ runner.os }}-build-${{ hashFiles('R/basilisk.R') }}-${{ inputs.cache-version }}
237+
# - name: Detect pyenv and virtualenv cache directories
238+
# run: |
239+
# BatChef:::print_basilisk_cache_paths()
240+
# shell: Rscript {0} >> $GITHUB_ENV
241+
242+
# - name: Cache pyenv and virtualenv
243+
# if: "!contains(github.event.head_commit.message, '/nocache')"
244+
# uses: actions/cache@v4
245+
# with:
246+
# path: |
247+
# ${{ env.PYENV_CACHE_DIR }}
248+
# ${{ env.VIRTUALENV_CACHE_DIR }}
249+
# key: ${{ runner.os }}-build-${{ hashFiles('R/basilisk.R') }}-${{ inputs.cache-version }}
244250

245251
- name: Install BiocGenerics
246252
if: env.has_RUnit == 'true'

0 commit comments

Comments
 (0)