From 1481fe42827a835a3035e052d99e274a0ceccce7 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Thu, 30 Dec 2021 17:48:56 -0800 Subject: [PATCH] ci: test installing .deb in build (#651) Add an additional validation step to the .deb file generation in nightly and deployment workflows. --- .github/workflows/deployment.yml | 3 +++ .github/workflows/nightly.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 6197d9c8..e28085b1 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -344,6 +344,9 @@ jobs: cargo deb --no-build cp ./target/debian/bottom_*.deb ./bottom_${{ env.RELEASE_VERSION }}_amd64.deb + - name: Test Debian release + run: sudo dpkg -i ./bottom_${{ env.RELEASE_VERSION }}_amd64.deb + - name: Create release directory for artifact, move file shell: bash run: | diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index d0d6cae1..851cde2c 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -331,6 +331,9 @@ jobs: cargo deb --no-build cp ./target/debian/bottom_*.deb ./bottom_${{ env.RELEASE_VERSION }}_amd64.deb + - name: Test Debian release + run: sudo dpkg -i ./bottom_${{ env.RELEASE_VERSION }}_amd64.deb + - name: Create release directory for artifact, move file shell: bash run: |