From bd06d6c94d094e78f63c3cd861a97e95e16f5861 Mon Sep 17 00:00:00 2001 From: Emma Hogan Date: Thu, 28 Nov 2024 15:22:55 +0000 Subject: [PATCH] Update RTW checks (#3823) --- .github/workflows/check-rtw.yml | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/.github/workflows/check-rtw.yml b/.github/workflows/check-rtw.yml index 611601dfd7..b5c6a0f32e 100644 --- a/.github/workflows/check-rtw.yml +++ b/.github/workflows/check-rtw.yml @@ -6,10 +6,11 @@ on: # Triggers the workflow on push events push: paths: -# - esmvaltool/utils/recipe_test_workflow/** + - esmvaltool/utils/recipe_test_workflow/** - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: + # Schedule this workflow to run at 04:00 every 10 days + schedule: + - cron: '0 4 */10 * *' # Common variables are defined here env: @@ -33,19 +34,13 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job # can access it - - uses: actions/checkout@v4 - - uses: conda-incubator/setup-miniconda@v3 - with: - miniforge-version: "latest" - miniforge-variant: Miniforge3 - use-mamba: true - conda-remove-defaults: "true" - - - name: Install Cylc and Rose - run: conda install cylc-flow>=8.2 cylc-rose metomi-rose + - name: Checkout repository + uses: actions/checkout@v4 - - name: Check current environment - run: conda list + - name: Setup Cylc + uses: cylc/setup-cylc@v1 + with: + cylc_rose: true - name: Validate Cylc workflow run: |