@@ -35,29 +35,29 @@ Describe "Validate rule documentation files" {
3535 $rulesReadmeDiff = Compare-Object - ReferenceObject $rules - DifferenceObject $readmeRules - SyncWindow 25
3636 }
3737
38- It " Every rule must have a rule documentation file" {
38+ It " Every rule must have a rule documentation file" - Skip:( $ env: APPVEYOR -and $IsLinux ) {
3939 $rulesDocsDiff | Where-Object SideIndicator -eq " <=" | Foreach-Object InputObject | Should - BeNullOrEmpty
4040 }
41- It " Every rule documentation file must have a corresponding rule" {
41+ It " Every rule documentation file must have a corresponding rule" - Skip:( $ env: APPVEYOR -and $IsLinux ) {
4242 $rulesDocsDiff | Where-Object SideIndicator -eq " =>" | Foreach-Object InputObject | Should - BeNullOrEmpty
4343 }
4444
45- It " Every rule must have an entry in the rule documentation README.md file" {
45+ It " Every rule must have an entry in the rule documentation README.md file" - Skip:( $ env: APPVEYOR -and $IsLinux ) {
4646 $rulesReadmeDiff | Where-Object SideIndicator -eq " <=" | Foreach-Object InputObject | Should - BeNullOrEmpty
4747 }
48- It " Every entry in the rule documentation README.md file must correspond to a rule" {
48+ It " Every entry in the rule documentation README.md file must correspond to a rule" - Skip:( $ env: APPVEYOR -and $IsLinux ) {
4949 $rulesReadmeDiff | Where-Object SideIndicator -eq " =>" | Foreach-Object InputObject | Should - BeNullOrEmpty
5050 }
5151
52- It " Every entry in the rule documentation README.md file must have a valid link to the documentation file" {
52+ It " Every entry in the rule documentation README.md file must have a valid link to the documentation file" - Skip:( $ env: APPVEYOR -and $IsLinux ) {
5353 foreach ($key in $readmeLinks.Keys ) {
5454 $link = $readmeLinks [$key ]
5555 $filePath = Join-Path $ruleDocDirectory $link
5656 $filePath | Should - Exist
5757 }
5858 }
59-
60- It " Every rule name in the rule documentation README.md file must match the documentation file's basename" {
59+
60+ It " Every rule name in the rule documentation README.md file must match the documentation file's basename" -- Skip:( $ env: APPVEYOR -and $IsLinux ) {
6161 foreach ($key in $readmeLinks.Keys ) {
6262 $link = $readmeLinks [$key ]
6363 $filePath = Join-Path $ruleDocDirectory $link
0 commit comments