Skip to content

Commit 6e8fee5

Browse files
committed
Fix logs for tests in extensions action
1 parent b2edddd commit 6e8fee5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

extension/BuildPhpExtension/private/Invoke-Tests.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ Function Invoke-Tests {
7676
if($env:TEST_OPCACHE_MODE -eq 'both') {
7777
$suffix = " (opcache=$opcacheMode)"
7878
}
79-
Add-StepLog "Running tests for $($Config.name) extension$suffix"
79+
if($suffix -ne "") {
80+
Add-StepLog "Running tests for $($Config.name) extension$suffix"
81+
}
8082
Set-GAGroup start
8183
$tempDirectory = Get-BuildDirectory $currentDirectory
8284
$env:TEMP=$tempDirectory

0 commit comments

Comments
 (0)