Skip to content

Implement Podman start-local script #291

Implement Podman start-local script

Implement Podman start-local script #291

Workflow file for this run

name: Installer test
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
paths-ignore:
- 'README.md'
- '.editorconfig'
jobs:
test:
name: "Test on ${{ matrix.os }} with Podman: ${{ matrix.podman }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-22.04
- ubuntu-24.04
podman: [true, false]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install bashunit
run: |
curl -s https://bashunit.typeddevs.com/install.sh | bash
- name: Set up Podman
if: matrix.podman == true
run: |
sudo snap remove docker
sudo apt-get remove -y docker docker-engine docker.io containerd runc docker-ce docker-ce-cli
sudo apt-get -y install podman
- name: Run the tests
env:
TEST_CONTAINER_CLI: ${{ matrix.podman && 'podman' || 'docker' }}
run: |
./lib/bashunit