Skip to content

Github actions

Github actions #5

Workflow file for this run

# @file rockylinux9.yml
---
name: Tests on Rocky Linux
# Trigger the workflow on push or pull request
on: [push, pull_request]
jobs:
help:
name: Launch plugin with --help
runs-on: ubuntu-latest
container:
image: rockylinux/rockylinux:9
steps:
- uses: actions/checkout@v1
- name: Enable EPEL
run: |
dnf install -y dnf-plugins-core
dnf config-manager --set-enabled crb
dnf install -y epel-release
- name: Install dependencies
run: |
dnf -y install nagios-plugins-perl perl-FindBin
- name: Launch plugin with --help
run: |
./check_ro_mounts.pl --help
execute:
runs-on: ubuntu-latest
container:
image: rockylinux/rockylinux:9
steps:
- uses: actions/checkout@v1
- name: Enable EPEL
run: |
dnf install -y dnf-plugins-core
dnf config-manager --set-enabled crb
dnf install -y epel-release
- name: Install dependencies
run: |
dnf -y install nagios-plugins-perl perl-FindBin
- name: Launch plugin
run: |
./check_ro_mounts.pl -d