scripts/test_nonsmoking.sh
#!/bin/bash
##################################################
# Set Environment Path
##################################################
MY_ENV="env"
if ! [[ $# -eq 0 ]]; then
MY_ENV=$1
fi
##################################################
# Activate Virtual Environment
##################################################
source ./${MY_ENV}/bin/activate
##################################################
# Run Tests
##################################################
pytest \
--doctest-modules hyperparameter_hunter \
--cov=hyperparameter_hunter \
--disable-pytest-warnings \
--cov-report html:./htmlcov_nonsmoking \
--cov-report term \
tests/ \
--durations=10 \
--ignore tests/smoke_tests \
-rfEX