Github actions #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @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 config-manager --set-enabled crb | |
dnf install 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 config-manager --set-enabled crb | |
dnf install epel-release | |
- name: Install dependencies | |
run: | | |
dnf -y install nagios-plugins-perl perl-FindBin | |
- name: Launch plugin | |
run: | | |
./check_ro_mounts.pl -d |