Skip to content

now try a real workflow #20

now try a real workflow

now try a real workflow #20

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:
setup:
if: ${{ github.event.label.name == 'run-pr-tests' }}
runs-on: hpc-runner
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run git-fleximod
run: |
pwd
module list
./bin/git-fleximod update
reusable:
needs: [setup]
strategy:
matrix:
# compiler: [intel, intel-oneapi, gnu, nvhpc]
compiler: [intel, intel-oneapi]
env:
CC: mpicc
FC: mpifort
CXX: mpicxx
CIME_MODEL: cesm
CIME_DRIVER: nuopc
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ESCOMP/CESM/.github/workflows/reusable.yaml@mail

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

View workflow run for this annotation

GitHub Actions / .github/workflows/derecho.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/derecho.yaml" -> "ESCOMP/CESM/.github/workflows/reusable.yaml@mail" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
with:
stage: ${{ matrix.compiler }}