Skip to content

modify to shorten test list and debug more quickly #1

modify to shorten test list and debug more quickly

modify to shorten test list and debug more quickly #1

Workflow file for this run

on:
workflow_call:
inputs:
compiler:
type: string
required: true
jobs:
test:
if: always()
env:
CC: mpicc
FC: mpifort
CXX: mpicxx
CIME_MODEL: cesm
CIME_DRIVER: nuopc
# needs: setup
runs-on: hpc-runner
steps:
- name: Run ${{ inputs.compiler }} tests
continue-on-error: true
run: |
pwd
cd cime/scripts
module load cmake
qcmd -q main -v PROJECT=P93300606 -A P93300606 -l walltime=02:00:00 -- ./create_test --xml-machine derecho\
--xml-category github2 --no-run --compiler ${{ inputs.compiler }} --test-id ${GITHUB_RUN_ID}${{ inputs.compiler }}
- name: check status
run: |

Check failure on line 29 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yaml

Invalid workflow file

You have an error in your yaml syntax on line 29
cd $SCRATCH
./cs.status.${GITHUB_RUN_ID}${{ inputs.compiler }} --expected-fails-file $GITHUB_WORKSPACE/cime_config/testfiles/ExpectedTestFails.xml --fails-only | grep FAIL | grep -v FAILURE
retval=$?
if [ $retval -eq 0 ]; then
echo "Error"
fi
exit 0