Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed May 23, 2024
1 parent 8ecb74a commit 21652d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/generic-cylc-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
ls ${HOME}
tree ${HOME}/work
cylc lint --color=always ${HOME}/workflows/"${{ matrix.workflow }}"
cylc lint --color=always ${HOME}/work/workflows/workflows/"${{ matrix.workflow }}"
- name: Cylc validate ${{ matrix.workflow }}
run: |
if [[ -f ${HOME}/workflows/${{ matrix.workflow }}/rose-suite.conf ]]; then
awk '$0 ~ "=" {print $0}' ${HOME}/workflows/${{ matrix.workflow }}/rose-suite.conf > cylc.conf
cylc validate --color=always ${HOME}/workflows/${{ matrix.workflow }} --set-file=cylc.conf
awk '$0 ~ "=" {print $0}' ${HOME}/work/workflows/workflows/${{ matrix.workflow }}/rose-suite.conf > cylc.conf
cylc validate --color=always ${HOME}/work/workflows/workflows/${{ matrix.workflow }} --set-file=cylc.conf
else
cylc validate --color=always ${HOME}/workflows/${{ matrix.workflow }}
cylc validate --color=always ${HOME}/work/workflows/workflows/${{ matrix.workflow }}
fi

0 comments on commit 21652d2

Please sign in to comment.