Skip to content

Commit

Permalink
add more test calls to apps/scripts that have them. exit status guard…
Browse files Browse the repository at this point in the history
…s for most. expecting to likely not have all the req deps
  • Loading branch information
ilaflott committed Oct 4, 2024
1 parent e54e41b commit 316fd3e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/create_test_conda_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,18 @@ 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 -
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 -
cd app/make-timeseries && pytest -v -v -x ./tests/ || echo "pytest for make-timeseries failed"; cd -;
# pytest unittests for remap-pp-components
cd app/remap-pp-components && pytest -v -v -x ./t/ || echo "pytest for remap-pp-components failed"; cd -;
# pytest unittests for other things in this repository
pytest -v -v -x ./tests;

0 comments on commit 316fd3e

Please sign in to comment.