Skip to content

Commit

Permalink
Add a test run without buildah to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dcermak committed Mar 26, 2024
1 parent e11ad78 commit b680d99
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit b680d99

Please sign in to comment.