Skip to content

true (pull_request) #92

true (pull_request)

true (pull_request) #92

Workflow file for this run

name: Regression Suite
run-name : ${{ github.event_name == 'push' && 'CI' || github.event.label.name == 'compile-tests' }} (${{ github.event_name }})
on:
push:
branches: [ master ]
pull_request:
types: [ labeled ]
jobs:
buildtests:
if : ${{ github.event.label.name == 'compile-tests' }} || ${{ github.event_name == 'push' }}
strategy:
max-parallel: 4
fail-fast: false
matrix:
# # Write our tests out this way for easier legibility
# test :
# -
# -
# -
# -
# -
# -
# Specify accounts specific to each HPC resource
# https://stackoverflow.com/a/68940067
testSet :
- host : mmm-mystic
archive : /home/aislas/github/wrf/logs/
account : NMMM0012
name : "Compilation Tests"
fileroot : wrf_arw_tests
pool : 2
tpool : 4
mkdirs : true
tests :
- make-gnu
- make-gnu-mpi
- host : mmm-mystic
archive : /home/aislas/github/wrf/logs/
account : NMMM0012
name : "Compilation Tests"
fileroot : wrf_arw_tests
pool : 2
tpool : 4
mkdirs : false
tests :
- cmake-gnu
- cmake-gnu-mpi
# - {
# host : mmm-mystic,
# account : NMMM0012,
# name : "Compilation Tests",
# fileroot : wrf_arw_tests,
# pool : 2,
# mkdirs : true,
# tests : [
# make-gnu, make-gnu-mpi
# ]
# }
# - {
# host : mmm-mystic,
# account : NMMM0012,
# name : "Compilation Tests",
# fileroot : wrf_arw_tests,
# pool : 2,
# mkdirs : false,
# tests : [
# cmake-gnu, cmake-gnu-mpi
# ]
# }
# - {
# host : derecho,
# account : NMMM0012,
# name : "Compilation Tests",
# fileroot : wrf_arw_tests,
# args : -j="-l select=1",
# pool : 6,
# mkdirs : true,
# tests : [
# gnu-nompi, gnu-mpi, intel-nompi, intel-mpi, pgi-nompi, pgi-mpi
# ]
# }
# - {
# host : derecho,
# account : NMMM0012,
# name : "em_real 0-3, A-E Tests",
# fileroot : wrf_em_real_tests,
# args : -j="-l select=1",
# pool : 9,
# mkdirs : true,
# tests : [
# em_real0, em_real1, em_real2, em_real3, em_realA, em_realB, em_realC, em_realD, em_realE
# ]
# }
# - {
# host : derecho,
# account : NMMM0012,
# name : "em_real G-L Tests",
# fileroot : wrf_em_real_tests,
# args : -j="-l select=1",
# pool : 9,
# mkdirs : true,
# tests : [
# em_realF, em_realG, em_realH, em_realI, em_realJ, em_realK, em_realL0, em_realL1, em_realL2,
# ]
# }
# - {
# host : derecho,
# account : NMMM0012,
# name : "em_ideal Tests",
# fileroot : wrf_em_ideal_tests,
# args : -j="-l select=1",
# pool : 5,
# mkdirs : true,
# tests : [ em_b_wave, em_hill2d_x, em_quarter_ss_real8
# # Both commented out for failing LFN differences
# # em_fire
# # em_quarter_ss
# ]
# }
uses : ./.github/workflows/wrf_test.yml
with :
label : ${{ github.event.label.name }}
archive : ${{ matrix.testSet.archive }}
name : ${{ matrix.testSet.name }}
host : ${{ matrix.testSet.host }}
fileroot : ${{ matrix.testSet.fileroot }}
account : ${{ matrix.testSet.account }}
tests : ${{ toJson( matrix.testSet.tests ) }}
mkdirs : ${{ matrix.testSet.mkdirs }}
args : ${{ matrix.testSet.args }}
pool : ${{ matrix.testSet.pool }}
tpool : ${{ matrix.testSet.tpool }}
permissions:
contents: read
pull-requests: write
name : Test ${{ matrix.testSet.name }} on ${{ matrix.testSet.host }}