Skip to content

now try a real workflow #60

now try a real workflow

now try a real workflow #60

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: Prepare system
run: |
rm -fr $SCRATCH/cs.s* $SCRATCH/SMS_Ld2* $GITHUB_WORKSPACE
mkdir $GITHUB_WORKSPACE
- name: Checkout code
uses: actions/checkout@v4
- name: Run git-fleximod
run: |
pwd
module list
./bin/git-fleximod update
reusable:
strategy:
matrix:
compiler: [intel, intel-oneapi, nvhpc, gnu ]
uses: ./.github/workflows/reusable.yaml

Check failure on line 32 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" -> "./.github/workflows/reusable.yaml" : You have an error in your yaml syntax on line 29
with:
compiler: ${{ matrix.compiler }}