Skip to content

Commit bd06d6c

Browse files
authored
Update RTW checks (#3823)
1 parent a786c10 commit bd06d6c

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

.github/workflows/check-rtw.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ on:
66
# Triggers the workflow on push events
77
push:
88
paths:
9-
# - esmvaltool/utils/recipe_test_workflow/**
9+
- esmvaltool/utils/recipe_test_workflow/**
1010

11-
# Allows you to run this workflow manually from the Actions tab
12-
workflow_dispatch:
11+
# Schedule this workflow to run at 04:00 every 10 days
12+
schedule:
13+
- cron: '0 4 */10 * *'
1314

1415
# Common variables are defined here
1516
env:
@@ -33,19 +34,13 @@ jobs:
3334
steps:
3435
# Checks-out your repository under $GITHUB_WORKSPACE, so your job
3536
# can access it
36-
- uses: actions/checkout@v4
37-
- uses: conda-incubator/setup-miniconda@v3
38-
with:
39-
miniforge-version: "latest"
40-
miniforge-variant: Miniforge3
41-
use-mamba: true
42-
conda-remove-defaults: "true"
43-
44-
- name: Install Cylc and Rose
45-
run: conda install cylc-flow>=8.2 cylc-rose metomi-rose
37+
- name: Checkout repository
38+
uses: actions/checkout@v4
4639

47-
- name: Check current environment
48-
run: conda list
40+
- name: Setup Cylc
41+
uses: cylc/setup-cylc@v1
42+
with:
43+
cylc_rose: true
4944

5045
- name: Validate Cylc workflow
5146
run: |

0 commit comments

Comments
 (0)