26 lines
533 B
YAML
26 lines
533 B
YAML
name: Test OS Containers
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
test-container:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
distro: [arch, debian, ubuntu, fedora, centos]
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Show Docker version
|
|
run: docker version
|
|
|
|
- name: Run container tests (${{ matrix.distro }})
|
|
run: |
|
|
set -euo pipefail
|
|
distro="${{ matrix.distro }}" make test-container
|