From cf82ed1958350a8e7a5ab111cd4fc2a3b5bdc159 Mon Sep 17 00:00:00 2001 From: Raymond Menzel Date: Mon, 23 Dec 2024 11:24:27 -0500 Subject: [PATCH] fix the run call in the test --- .github/workflows/conda-env-create-run-pytest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conda-env-create-run-pytest.yml b/.github/workflows/conda-env-create-run-pytest.yml index 3c85a41..f7ba5fd 100644 --- a/.github/workflows/conda-env-create-run-pytest.yml +++ b/.github/workflows/conda-env-create-run-pytest.yml @@ -37,12 +37,12 @@ jobs: - name: Generate catalog run: | which python - python catalogbuilder/scripts/gen_intake_gfdl.py archive/am5/am5/am5f3b1r0/c96L65_am5f3b1r0_pdclim1850F/gfdl.ncrc5-deploy-prod-openmp/pp gfdl_autotest + python -m catalogbuilder.scripts.gen_intake_gfdl archive/am5/am5/am5f3b1r0/c96L65_am5f3b1r0_pdclim1850F/gfdl.ncrc5-deploy-prod-openmp/pp gfdl_autotest - name: Generate catalog with yaml run: | which python - python catalogbuilder/scripts/gen_intake_gfdl.py --config catalogbuilder/tests/test_config.yaml + python -m catalogbuilder.scripts.gen_intake_gfdl --config catalogbuilder/tests/test_config.yaml - name: upload-artifacts uses: actions/upload-artifact@v4