Skip to content
Snippets Groups Projects
run-all-tests 309 B
Newer Older
set -e

COV_PKG_OPTIONS="--cov hgext3rd --cov hgitaly"
if test -n "$GITALY_INSTALL_DIR"; then
    COV_PKG_OPTIONS="$COV_PKG_OPTIONS --cov tests_with_gitaly"
fi
pytest --doctest-modules \
       $COV_PKG_OPTIONS \
       --cov-config=.coveragerc \
       --cov-fail-under 100 \
       -v $@