@@ -105,7 +105,6 @@ it_can_check_from_a_ref() {
105
105
local ref1=$( make_commit $repo )
106
106
local ref2=$( make_commit $repo )
107
107
local ref3=$( make_commit $repo )
108
- check_uri_from $repo $ref1
109
108
check_uri_from $repo $ref1 | jq -e "
110
109
. == [
111
110
{ref: $( echo $ref1 | jq -R .) },
@@ -263,6 +262,20 @@ it_checks_given_paths() {
263
262
"
264
263
}
265
264
265
+ it_checks_given_paths_ci_skip_disabled () {
266
+ local repo=$( init_repo)
267
+ local ref1=$( make_commit_to_file $repo file-a)
268
+ local ref2=$( make_commit_to_file $repo file-a)
269
+ local ref3=$( make_commit_to_file $repo file-a)
270
+ check_uri_from_paths_disable_ci_skip $repo $ref1 " file-a" | jq -e "
271
+ . == [
272
+ {ref: $( echo $ref1 | jq -R .) },
273
+ {ref: $( echo $ref2 | jq -R .) },
274
+ {ref: $( echo $ref3 | jq -R .) }
275
+ ]
276
+ "
277
+ }
278
+
266
279
it_checks_given_paths_on_branch () {
267
280
local repo=$( init_repo)
268
281
local ref1=$( make_commit_to_file_on_branch_with_path $repo dummy file-b master)
@@ -673,6 +686,7 @@ run it_can_check_from_a_first_commit_in_repo
673
686
run it_can_check_from_a_bogus_sha
674
687
run it_skips_ignored_paths
675
688
run it_checks_given_paths
689
+ run it_checks_given_paths_ci_skip_disabled
676
690
run it_checks_given_paths_on_branch
677
691
run it_checks_given_glob_paths
678
692
run it_checks_given_ignored_paths
0 commit comments