From e54e41b02f6478a6e84cbb2249fffb58422a4cd1 Mon Sep 17 00:00:00 2001 From: Ian Laflotte Date: Fri, 4 Oct 2024 12:01:18 -0400 Subject: [PATCH] fre-nctools dependency added in for make-timeseries tests. comments into workflow file and pytest call for make-timeseries --- .github/workflows/create_test_conda_env.yml | 4 ++++ environment.yml | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/create_test_conda_env.yml b/.github/workflows/create_test_conda_env.yml index 379cd4e..070e3bc 100644 --- a/.github/workflows/create_test_conda_env.yml +++ b/.github/workflows/create_test_conda_env.yml @@ -30,5 +30,9 @@ jobs: run: | # try to make sure the right things are in GITHUB_PATH echo $CONDA/envs/fre-workflows/bin >> $GITHUB_PATH + # lint .cylc workflow files cylc lint -v || echo "cylc lint threw non-zero exit code" + # unittests for data_lineage cd data_lineage && python -m unittest discover -s test -v; cd - + # pytest unittests for make-timeseries + cd app/make-timeseries && pytest -v -v -x ./tests/; cd - \ No newline at end of file diff --git a/environment.yml b/environment.yml index a0f4185..514aa81 100644 --- a/environment.yml +++ b/environment.yml @@ -10,6 +10,7 @@ dependencies: - pyyaml - pylint - jsonschema + - noaa-gfdl::fre-nctools - conda-forge::cylc-flow>=8.2.0 - conda-forge::cylc-rose - conda-forge::metomi-rose