diff --git a/run-tests.sh b/run-tests.sh index cbc5f0b..ce3af55 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -20,7 +20,7 @@ else echo "Container detected, direct mode." fi -SCRIPTS="$(git ls-files --exclude='*.sh' --ignored | xargs echo)" +SCRIPTS="$(git ls-files --exclude='*.sh' --ignored --cached | xargs echo)" run_test "shellcheck -S ${SHELLCHECK_SEVERITY} ${SCRIPTS}" run_test "pytest -v --cov-report=term --cov=osbuild test/unit/"