update test

This commit is contained in:
Jordan Carlin 2024-07-16 07:22:01 -07:00
parent f8b078d0d8
commit c8f473b6b7
No known key found for this signature in database

View File

@ -3,36 +3,14 @@ on: [workflow_dispatch]
jobs:
storage-space:
runs-on: ubuntu-22.04
check-packages:
name: Test installation on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-20.04", "ubuntu-22.04", "ubuntu-24.04"]
steps:
- name: Root
run: |
df -h
cd /
du -h --max-depth=1 / | sort -h
- name: /usr
run: |
cd /usr
du -h --max-depth=1 / | sort -h
- name: /usr/bin
run: |
cd /usr/bin
du -h --max-depth=1 / | sort -h
- name: /usr/local
run: |
cd /usr/local
du -h --max-depth=1 / | sort -h
- name: /usr/share
run: |
cd /usr/share
du -h --max-depth=1 / | sort -h
- name: /opt
run: |
cd /opt
du -h --max-depth=1 / | sort -h
- name: /opt/hostedtoolcache
run: |
cd /opt/hostedtoolcache
du -h --max-depth=1 / | sort -h
- name: check packages
run: dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -nr