diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index d16891016..fa496502a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -19,10 +19,8 @@ jobs: strategy: fail-fast: false matrix: - runner: - - ubuntu-24.04 - - ubuntu-22.04 - - ubuntu-20.04 + runner: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04] + name: "Run Unit tests on ${{ matrix.runner }}" runs-on: ${{ matrix.runner }} defaults: @@ -39,7 +37,7 @@ jobs: sudo apt-get install -y gdb-multiarch python3-dev python3-pip python3-wheel python3-setuptools git cmake gcc g++ pkg-config libglib2.0-dev gdbserver qemu-user - name: Install python and toolchain - if: ${{ matrix.runner }} == 'ubuntu-24.04' + if: matrix.runner == 'ubuntu-24.04' run: | sudo apt-get install -y python3-full @@ -65,14 +63,14 @@ jobs: ${{ matrix.runner }}- - name: Install python and toolchain - if: ${{ matrix.runner }} != 'ubuntu-24.04' + if: matrix.runner != 'ubuntu-24.04' run: | test "${{ env.PY_VER }}" == "0" && exit 1 mkdir -p ${{ env.GEF_CI_CACHE_DIR }} python${{ env.PY_VER }} -m pip install --user --upgrade -r tests/requirements.txt - name: Install Python Requirements - if: ${{ matrix.runner }} == 'ubuntu-24.04' + if: matrix.runner == 'ubuntu-24.04' run: | test "${{ env.PY_VER }}" == "0" && exit 1 mkdir -p ${{ env.GEF_CI_CACHE_DIR }}