Skip to content

Commit

Permalink
Fix coverage commands
Browse files Browse the repository at this point in the history
  • Loading branch information
bikegeek committed Mar 31, 2024
1 parent 97d3087 commit f301ad2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit f301ad2

Please sign in to comment.