run-tests: explicitly specify --cached
Seems to be required for newer versions of `git`.
This commit is contained in:
parent
1a5977bad2
commit
e099b8a96e
1 changed files with 1 additions and 1 deletions
|
|
@ -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/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue