Skip to content

Commit

Permalink
Update RTW checks (#3823)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehogan authored Nov 28, 2024
1 parent a786c10 commit bd06d6c
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/check-rtw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand Down

0 comments on commit bd06d6c

Please sign in to comment.