Integration tests on rocky9 #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 01-ubuntu.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: Install sysstat | |
run: | | |
dnf -y install sysstat | |
- name: Launch plugin with --help | |
run: | | |
./check_cpu_stats.sh --help | |
execute: | |
runs-on: ubuntu-latest | |
container: | |
image: rockylinux/rockylinux:9 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install sysstat | |
run: | | |
dnf -y install sysstat | |
- name: Launch plugin | |
run: | | |
./check_cpu_stats.sh | |
thresholds: | |
runs-on: ubuntu-latest | |
container: | |
image: rockylinux/rockylinux:9 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install sysstat | |
run: | | |
dnf -y install sysstat | |
- name: Launch plugin | |
run: | | |
./check_cpu_stats.sh -w 60,50,20 -c 80,60,30 |