mirror of https://github.com/ecmwf/eccodes.git
Trigger nightly tests on HPC
This commit is contained in:
parent
15639cd0eb
commit
e760d43752
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
module unload ecmwf-toolbox # Very important if you are testing your own build/install
|
||||
module load cdo/new
|
||||
module load numdiff
|
||||
module load nccmp netcdf4/new
|
||||
module load gnuparallel/new
|
||||
module load python3
|
||||
|
||||
cd ~masn/REGRESSION_TESTING/ecCodes
|
||||
./par-suite.sh -w $TMPDIR/install/eccodes
|
|
@ -0,0 +1,16 @@
|
|||
name: nightly
|
||||
|
||||
on:
|
||||
workflow_dispatch: ~
|
||||
|
||||
# Run at 20:00 UTC every day (on default branch)
|
||||
schedule:
|
||||
- cron: '0 20 * * *'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
uses: ./.github/workflows/reusable-ci-hpc.yml
|
||||
with:
|
||||
eccodes: ecmwf/eccodes@${{ github.event.pull_request.head.sha || github.sha }}
|
||||
nightly_test: true
|
||||
secrets: inherit
|
|
@ -6,6 +6,10 @@ on:
|
|||
eccodes:
|
||||
required: false
|
||||
type: string
|
||||
nightly_test:
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
jobs:
|
||||
ci-hpc:
|
||||
|
@ -20,4 +24,5 @@ jobs:
|
|||
ninja
|
||||
aec
|
||||
--parallel: 64
|
||||
${{ inputs.nightly_test && '--post-script: .github/ci-nightly-test.sh' }}
|
||||
secrets: inherit
|
||||
|
|
Loading…
Reference in New Issue