From 4de88c21004d744ab897bb24df4b75e86a6b1499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Tue, 19 Mar 2024 16:42:04 +0100 Subject: [PATCH] Add a test run without buildah to the CI --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78f0aa0..6e1361c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,26 +110,43 @@ jobs: python_version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] container_runtime: ["podman", "docker"] update_runtime: [ true, false ] + without_buildah: [ false ] exclude: - container_runtime: "docker" python_version: "3.7" update_runtime: true + without_buildah: false - container_runtime: "docker" python_version: "3.8" update_runtime: true + without_buildah: false - container_runtime: "docker" python_version: "3.9" update_runtime: true + without_buildah: false - container_runtime: "docker" python_version: "3.10" update_runtime: true + without_buildah: false - container_runtime: "docker" python_version: "3.11" update_runtime: true + without_buildah: false - container_runtime: "docker" python_version: "3.12" update_runtime: true + without_buildah: false + + include: + - container_runtime: "podman" + python_version: "3.12" + update_runtime: true + without_buildah: true + - container_runtime: "podman" + python_version: "3.12" + update_runtime: false + without_buildah: true steps: - uses: actions/checkout@v4 @@ -158,6 +175,10 @@ jobs: sudo apt-get update -qq sudo apt-get -qq -y install podman buildah + - name: remove buildah + if: ${{ matrix.without_buildah }} + run: sudo apt-get remove buildah + - run: | export CUR_USER="$(whoami)" sudo loginctl enable-linger ${CUR_USER}