-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add integration tests on Rocky Linux 9
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# @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: | | ||
sudo 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: | | ||
sudo 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: | | ||
sudo dnf -y install sysstat | ||
- name: Launch plugin | ||
run: | | ||
./check_cpu_stats.sh -w 60,50,20 -c 80,60,30 |