Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run tests in github action #145

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Run tests
on: [push, pull_request]

jobs:
make_test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: run autogen
run: ./autogen.sh
- name: run configure
run: ./configure
- name: run tests
run: make test
2 changes: 1 addition & 1 deletion test/test_lbnl_ps.nhc
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ plan $((14+10+6+29+18+6+5+7+6+6+9)) "lbnl_ps.nhc" && {
is $? 0 "CPU time utilization >= 7200 (pass)"
check_ps_time -m wrf.exe 120m
is $? 0 "CPU time utilization for wrf.exe >= 120m (pass)"
check_ps_time -u root 60m
check_ps_time -A -u root 60m
is $? 1 "CPU time utilization for root-owned process >= 60m"
check_ps_time 1800
is $? 1 "CPU time utilization >= 1800"
Expand Down