From c8f473b6b71199b40c7f1cbe9d1484d07ae05945 Mon Sep 17 00:00:00 2001 From: Jordan Carlin Date: Tue, 16 Jul 2024 07:22:01 -0700 Subject: [PATCH] update test --- .github/workflows/test.yml | 42 +++++++++----------------------------- 1 file changed, 10 insertions(+), 32 deletions(-) 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 + +