Skip to content

Commit

Permalink
Merge pull request #10 from Napsty/ci-rocky9
Browse files Browse the repository at this point in the history
Integration tests on rocky9
  • Loading branch information
Napsty committed Dec 7, 2023
2 parents 40ea266 + 2bdf95e commit bda814c
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/02-rocky9.yml
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: |
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

0 comments on commit bda814c

Please sign in to comment.