Skip to content

fixes

fixes #12

---
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
container:
image: ubuntu:latest
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
options: --privileged --cap-add SYS_ADMIN
permissions:
statuses: write
# strategy:
# fail-fast: false
# matrix:
# image:
# - alpine
# - debian
# - oracle
# - ubuntu
steps:
- name: checkout
uses: actions/checkout@v4
with:
path: "${{ github.repository }}"
- name: show dirs
run: |
ls -lh alexanderbazhenoff/ansible-collection-linux
molecule --version || true
- name: molecule
uses: robertdebock/molecule-action@latest
with:
molecule_working_dir: alexanderbazhenoff/ansible-collection-linux
scenario: default
env:
ANSIBLE_FORCE_COLOR: '1'