diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 13dda37a0..567578e2e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,9 +57,12 @@ jobs: clean-rhel: name: clean ${{ matrix.os }} runs-on: ubuntu-latest + defaults: + run: + shell: bash container: image: ${{ matrix.os }} - options: --privileged --mount type=bind,source=/,target=/host --pid=host + options: --privileged --mount type=bind,source=/,target=/host --pid=host --entrypoint /bin/bash strategy: fail-fast: false matrix: @@ -69,7 +72,10 @@ jobs: - uses: actions/checkout@v4 - run: df -h - name: remove packages - run: nsenter -t 1 -m -u -n -i bash /__w/cvw/cvw/.github/cli-space-cleanup.sh + run: | + cd .github + ls + nsenter -t 1 -m -u -n -i bash cli-space-cleanup.sh #-c "sudo apt-get purge -y google-cloud-cli || true; sudo apt-get autoremove -y; sudo apt-get clean" - run: df -h - name: check packages run: dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -nr