diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1a9c1d8d6..a4b65cfcb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 + +