ci: skip functional tests for pre-commit config yaml

Skip functional tests for changes in `.pre-commit-config.yaml`.

Signed-off-by: Yug <yuggupta27@gmail.com>
This commit is contained in:
Yug 2020-08-20 10:30:04 +05:30 committed by mergify[bot]
parent 0bd45a5eb1
commit fcb2bcdb12

View File

@ -5,7 +5,7 @@ CHANGED_FILES=$(git diff --name-only "$TRAVIS_COMMIT_RANGE")
skip=0 skip=0
#files to be skipped #files to be skipped
declare -a FILES=(^docs/ .md$ ^scripts/ LICENSE .mergify.yml .github .gitignore .commitlintrc.yml) declare -a FILES=(^docs/ .md$ ^scripts/ LICENSE .mergify.yml .github .gitignore .commitlintrc.yml .pre-commit-config.yaml)
function check_file_present() { function check_file_present() {
local file=$1 local file=$1