leap-stc / cmip6-leap-feedstock

Apache License 2.0
13 stars 5 forks source link

Implement CI check based on pangeo-forge-runner expand-meta #150

Closed jbusecke closed 6 months ago

jbusecke commented 6 months ago

Whenever I modify the logic in the recipe/esgf query, I find it very irritating to wait for a complete deploy action cycle to hunt errors.

Reminder to set up a CI action that simply expands the metadata (and thus runs through all of the esgf stuff) before submitting.

I added some text in the README in #149 that can be used to set this up.

export IS_TEST=true; export GITHUB_RUN_ID=a;export GITHUB_RUN_ATTEMPT=bb;pangeo-forge-runner expand-meta --repo=.

Actually this would be really nice: We could run the esgf logic through both the PR and production logic before submitting anything (by setting up two actions with different env variables). I think this would take a lot of hassle out of the dev workflow here.