Skip to content

Commit 074aad6

Browse files
authored
Add missing -Tag 'CI' to describe blocks. (PowerShell#18316)
1 parent 223d9a4 commit 074aad6

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

test/powershell/Language/Scripting/CleanBlockErrorHandling.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ Describe "Error handling within a single 'Clean' block" -Tag 'CI' {
540540
}
541541
}
542542

543-
Describe "Multiple errors from 'Clean' and another named block" {
543+
Describe "Multiple errors from 'Clean' and another named block" -Tag 'CI' {
544544

545545
BeforeAll {
546546
function MultipleErrors {

test/powershell/Language/Scripting/HashtableToPSCustomObjectConversion.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Describe "Tests for hashtable to PSCustomObject conversion" -Tags "CI" {
142142
}
143143
}
144144

145-
Describe "Error message with settable Property information" {
145+
Describe "Error message with settable Property information" -Tag 'CI' {
146146
BeforeAll {
147147
Add-Type @"
148148
namespace HashtableConversionTest {

test/powershell/Language/Scripting/NativeExecution/NativeCommandArguments.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Describe "Will error correctly if an attempt to set variable to improper value"
162162
}
163163
}
164164

165-
Describe "find.exe uses legacy behavior on Windows" {
165+
Describe "find.exe uses legacy behavior on Windows" -Tag 'CI' {
166166
BeforeAll {
167167
$currentSetting = $PSNativeCommandArgumentPassing
168168
$PSNativeCommandArgumentPassing = "Windows"

test/powershell/Modules/Microsoft.PowerShell.Core/Exec.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Describe 'Switch-Process tests for Unix' -Tags 'CI' {
5050
}
5151
}
5252

53-
Describe 'Switch-Process for Windows' {
53+
Describe 'Switch-Process for Windows' -Tag 'CI' {
5454
BeforeAll {
5555
$originalDefaultParameterValues = $PSDefaultParameterValues.Clone()
5656
if (!$IsWindows)

test/powershell/Modules/Microsoft.PowerShell.Utility/Format-List.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ decimal : 4567.123456789
230230
}
231231
}
232232

233-
Describe 'Format-List color tests' {
233+
Describe 'Format-List color tests' -Tag 'CI' {
234234
BeforeAll {
235235
$originalRendering = $PSStyle.OutputRendering
236236
$PSStyle.OutputRendering = 'Ansi'

test/powershell/Modules/Microsoft.PowerShell.Utility/Format-Table.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ A Name B
866866
}
867867
}
868868

869-
Describe 'Table color tests' {
869+
Describe 'Table color tests' -Tag 'CI' {
870870
BeforeAll {
871871
$originalRendering = $PSStyle.OutputRendering
872872
$PSStyle.OutputRendering = 'Ansi'

test/powershell/engine/Formatting/OutputRendering.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation.
22
# Licensed under the MIT License.
33

4-
Describe 'OutputRendering tests' {
4+
Describe 'OutputRendering tests' -Tag 'CI' {
55
BeforeEach {
66
if ($null -ne $PSStyle) {
77
$oldOutputRendering = $PSStyle.OutputRendering

test/powershell/engine/Formatting/PSStyle.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation.
22
# Licensed under the MIT License.
33

4-
Describe 'Tests for $PSStyle automatic variable' {
4+
Describe 'Tests for $PSStyle automatic variable' -Tag 'CI' {
55
BeforeAll {
66
$styleDefaults = @{
77
Reset = "`e[0m"
@@ -380,7 +380,7 @@ Describe 'Tests for $PSStyle automatic variable' {
380380
}
381381
}
382382

383-
Describe 'Handle strings with escape sequences in formatting' {
383+
Describe 'Handle strings with escape sequences in formatting' -Tag 'CI' {
384384

385385
BeforeAll {
386386
function Get-DemoObjects {

test/powershell/engine/Module/IsolatedModule.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation.
22
# Licensed under the MIT License.
33

4-
Describe "Isolated module scenario - load the whole module in custom ALC" {
4+
Describe "Isolated module scenario - load the whole module in custom ALC" -Tag 'CI' {
55
It "Loading 'IsolatedModule' should work as expected" {
66
## The 'IsolatedModule' module can be found at '<repo-root>\test\tools\Modules'.
77
## The module assemblies are created and deployed by '<repo-root>\test\tools\TestAlc'.

test/powershell/engine/OrderedHashtable.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation.
22
# Licensed under the MIT License.
33

4-
Describe 'Tests for OrderedHashtable' {
4+
Describe 'Tests for OrderedHashtable' -Tag 'CI' {
55

66
It 'Can create an empty OrderedHashtable' {
77
$oh =[System.Management.Automation.OrderedHashtable]::new()

0 commit comments

Comments
 (0)