Skip to content

fixes

fixes #6

---
name: Molecule Testsing
on: # yamllint disable-line rule:truthy
push: null
pull_request:
branches:
- main
- master
permissions: read-all
concurrency:
group: >-
${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
test_bareos:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./roles/bareos
container:
image: ubuntu:latest
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
options: --privileged --cap-add SYS_ADMIN
permissions:
statuses: write
strategy:
matrix:
image:
- alpine
- debian
- oracle
- ubuntu
steps:
- name: checkout
uses: actions/checkout@v4
with:
path: "${{ github.repository }}"
- name: show dirs
run: ls -lh
- name: molecule
uses: robertdebock/molecule-action@6.0.1
with:
image: "${{ matrix.image }}"
options: parallel
scenario: default