From e0a36994422c7574e4cb7e547689656582bfafd4 Mon Sep 17 00:00:00 2001 From: Paride Legovini Date: Thu, 28 Apr 2022 13:13:38 +0200 Subject: [PATCH] CI: run tox and tests in separate jobs Also: don't be completely quiet when installing packages. --- .github/workflows/ci.yaml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index eba83b8..1b0d8f0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,14 +6,23 @@ jobs: tox: runs-on: ubuntu-18.04 steps: - - name: Update apt - run: sudo apt-get update -q - name: Install dependencies - run: sudo DEBIAN_FRONTEND=noninteractive apt-get -qqy install tox lvm2 fdisk gdisk qemu-utils busybox + run: | + sudo DEBIAN_FRONTEND=noninteractive apt-get -qy update + sudo DEBIAN_FRONTEND=noninteractive apt-get -qy install tox - name: Git checkout uses: actions/checkout@v2 - name: Run tox run: tox + test: + runs-on: ubuntu-18.04 + steps: + - name: Install dependencies + run: | + sudo DEBIAN_FRONTEND=noninteractive apt-get -qy update + sudo DEBIAN_FRONTEND=noninteractive apt-get -qy install lvm2 fdisk gdisk qemu-utils busybox + - name: Git checkout + uses: actions/checkout@v2 - name: Run tests # SKIP growpart-lvm test that does not work on github c-i run: sudo SKIP=growpart-lvm PATH=$PWD/bin:$PATH ./test/run-all