Learn more about these different git repos.
Other Git URLs
cb8493e
@@ -82,9 +82,7 @@
%check
- PYTHONPATH=".${PYTHONPATH+:$PYTHONPATH}" \
- python3 -m pytest \
- -v --cov-report term-missing --cov ./dist_git ./tests/
+ ./run_tests.sh
%post
# change context to be readable by cgit
@@ -1,3 +1,8 @@
#! /bin/sh
- PYTHONPATH=.:$PYTHONPATH python3 -B -m pytest --cov-report term-missing --cov ./dist_git tests "$@"
+ set -x
+ set -e
+
+ common_path=$(readlink -f ../common)
+ export PYTHONPATH="${PYTHONPATH+$PYTHONPATH:}$common_path"
+ python3 -m pytest --cov-report term-missing --cov ./dist_git tests "$@"
+1
Pull-Request has been merged by praiskup