Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added table workflow #8

Merged
merged 4 commits into from
Aug 9, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/cmor-tables.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: cmor tables

# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:

push:
paths:
- 'data-request-fpsurbrcc.csv'
branches:
- "*"


# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
update-cmor-tables:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: checkout
uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install data_request_tools
run: |
python -m pip install --upgrade pip
pip install git+https://github.com/WCRP-CORDEX/[email protected]

- name: Create tables
run: |
create-cmor-tables data-request-fpsurbrcc.csv --coords --output cmor-tables