From f301ad239f2829842d7dc8cba687591482bc9e30 Mon Sep 17 00:00:00 2001 From: bikegeek Date: Sat, 30 Mar 2024 22:03:24 -0600 Subject: [PATCH] Fix coverage commands --- .github/workflows/unit_tests.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 531e8e43..009857c4 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -70,15 +70,18 @@ jobs: echo "GITHUB wspace: $GITHUB_WORKSPACE" export PYTHONPATH=$GITHUB_WORKSPACE/:$GITHUB_WORKSPACE/METdbLoad:$GITHUB_WORKSPACE/METdbLoad/ush:$GITHUB_WORKSPACE/METreformat:$GITHUB_WORKSPACE/METreadnc echo "PYTHONPATH is $PYTHONPATH" + + # test reformatter cd $GITHUB_WORKSPACE/METreformat cd test - pytest --cov - py.test test_reformatting.py + pytest --cov test_reformatting.py + + # test NetCDF reader cd $GITHUB_WORKSPACE/METreadnc cd test - pytest --cov pytest test_readnc.py + pytest --cov test_readnc.py echo "Finished unit tests and coverage"