Skip to content

jedwards4b is testing the project #14

jedwards4b is testing the project

jedwards4b is testing the project #14

Workflow file for this run

name: cesm-derecho-hosted
run-name: ${{ github.actor }} is testing the project
on:
pull_request:
branches: [ testbranch ]
types: [ labeled ]
jobs:
build:
if: ${{ github.event.label.name == 'run-pr-tests' }}
runs-on: hpc-runner
strategy:
compiler: [intel, intel-oneapi, gnu, nvhpc]

Check failure on line 14 in .github/workflows/derecho.yaml

View workflow run for this annotation

GitHub Actions / cesm-derecho-hosted

Invalid workflow file

The workflow is not valid. .github/workflows/derecho.yaml (Line: 14, Col: 7): Unexpected value 'compiler' .github/workflows/derecho.yaml (Line: 31, Col: 13): Unrecognized named-value: 'compiler'. Located at position 1 within expression: compiler
env:
CC: mpicc
FC: mpifort
CXX: mpicxx
CIME_MODEL: cesm
CIME_DRIVER: nuopc
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run git-fleximod
run: |
pwd
module list
./bin/git-fleximod update
- name: Run ${{ compiler }} tests
continue-on-error: true
run: |
pwd
cd cime/scripts
module load cmake
qcmd -v PROJECT=P93300606 -A P93300606 -l walltime=02:00:00 -- ./create_test --xml-machine derecho --xml-category github --no-run --compiler ${{ compiler }}