Browse Source

Fix CI problem: Some commits are treated as "XML changes only

Use more precise path inside $folders_onejob.

Fix #12810, close #12813
pull/12838/head
ArkadiuszMichalski 2 years ago committed by Don Ho
parent
commit
f8593916a9
  1. 2
      appveyor.yml

2
appveyor.yml

@ -38,7 +38,7 @@ before_build:
# XML validation mode
$allowMaster = $true
if ($allowMaster -or $env:APPVEYOR_PULL_REQUEST_NUMBER) {
$folders_onejob = "PowerEditor/Test/|/filesForTesting/|/functionList/"
$folders_onejob = "PowerEditor/(Test|(installer/(filesForTesting|functionList)))/"
$files_nowork = "md|txt|log"
$files_modified = @(git diff --name-only HEAD~1)
$files_notmached = @($files_modified | Where-Object {$_ -notmatch "\.(xml|$files_nowork)$|$folders_onejob"})

Loading…
Cancel
Save