NOAA-GFDL / fre-cli

Python-based command line interface for FRE (FMS Runtime Environment) to compile and run FMS-based models and post-process their output.
GNU Lesser General Public License v3.0
3 stars 7 forks source link

Improve ci workflows #127

Closed ilaflott closed 1 month ago

ilaflott commented 1 month ago

Describe your changes

updates environment.yml to reflect the same dependencies as whats in meta.yaml, plus pip.

adds workflow file create_test_conda_env.yml to use environment.yml to create environment, then uses that environment's python/pip to install fre-cli in that environment, and that environment's pytest is called to run tests.

publish_conda.yml's job name is changed to just publish from build_and_publish, to line up more with the workflow file's name.

Issue ticket number and link (if applicable)

122, #75

Checklist before requesting a review