set -e
set -x

source .ci/env_variables.sh

args=()

if [ "$system_os" == "LINUX" ] ; then
  args+=('--cov' '--doctest-modules')
fi

python3 -m pytest "${args[@]}"

set -e
set -x

source .ci/env_variables.sh

args=()

if [ "$system_os" == "LINUX" ] ; then
  args+=('--cov' '--cov-fail-under=100' '--doctest-modules')
fi

python3 -m pytest "${args[@]}"

Set pytest to fail if coverage is <100%
ci: Set pytest to fail if coverage is <100%
