diff --git a/scripts/gitlab/test.sh b/scripts/gitlab/test.sh index 2533b9baa..c0f878096 100755 --- a/scripts/gitlab/test.sh +++ b/scripts/gitlab/test.sh @@ -15,7 +15,7 @@ case $CI_COMMIT_REF_NAME in ;; esac -export RUST_FILES_MODIFIED="$(git --no-pager diff --name-only $GIT_COMPARE...$CI_COMMIT_SHA | grep -v -e ^\\. -e ^LICENSE -e ^README.md -e ^CHANGELOG.md -e ^test.sh -e ^scripts/ -e ^docs/ | wc -l | tr -d ' ')" +export RUST_FILES_MODIFIED="$(git --no-pager diff --name-only $GIT_COMPARE...$CI_COMMIT_SHA | grep -v -e ^\\. -e ^LICENSE -e ^README.md -e ^CHANGELOG.md -e ^test.sh -e ^scripts/ -e ^docs/ -e ^docker/ -e ^snap/ | wc -l | tr -d ' ')" echo "RUST_FILES_MODIFIED: $RUST_FILES_MODIFIED" if [ "${RUST_FILES_MODIFIED}" = "0" ]