Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/Process-PSModule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,3 @@ jobs:
Process-PSModule:
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v4
secrets: inherit
with:
SkipTests: SourceCode
2 changes: 2 additions & 0 deletions src/functions/public/Boolean/ConvertTo-Boolean.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@
default { $false }
}
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
2 changes: 2 additions & 0 deletions src/functions/public/Files/Get-FileInfo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@
}
return $fileDetails
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
2 changes: 2 additions & 0 deletions src/functions/public/Files/Remove-EmptyFolder.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@
}
}
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
2 changes: 2 additions & 0 deletions src/functions/public/Files/Show-FileContent.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@
$lineNumber++
}
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
2 changes: 2 additions & 0 deletions src/functions/public/Git/Clear-GitRepo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
git fetch --all --prune
(git branch).Trim() | Where-Object { $_ -notmatch 'main|\*' } | ForEach-Object { git branch $_ --delete --force }
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
2 changes: 2 additions & 0 deletions src/functions/public/Git/Invoke-GitSquash.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@
git push --force
git checkout $TempBranchName
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
2 changes: 2 additions & 0 deletions src/functions/public/Git/Invoke-SquashBranch.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
)
git reset $(git merge-base $BranchName $(git branch --show-current))
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
2 changes: 2 additions & 0 deletions src/functions/public/Git/Reset-GitRepo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@
}
}
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
2 changes: 2 additions & 0 deletions src/functions/public/Git/Restore-GitRepo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@
git fetch upstream
git restore --source upstream/$BranchName * ':!*global.variables.*' ':!settings.json*'
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
4 changes: 3 additions & 1 deletion src/functions/public/Git/Sync-GitRepo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
.EXAMPLE
Sync-GitRepo
#>
[Alias('Sync-Git')]
[OutputType([void])]
[CmdletBinding()]
param()
git fetch upstream --prune
git pull
git push
}
Set-Alias -Name sync -Value Sync-Git

#SkipTest:FunctionTest:Will add a test for this function in a future PR
2 changes: 2 additions & 0 deletions src/functions/public/Git/Sync-Repo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
git remote update origin --prune
git branch -vv | Select-String -Pattern ': gone]' | ForEach-Object { $_.toString().Trim().Split(' ')[0] } | ForEach-Object { git branch -D $_ }
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,5 @@
Set-ModuleManifest -Path $Path @changes

}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
2 changes: 2 additions & 0 deletions src/functions/public/PowerShell/Module/Add-PSModulePath.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@
Write-Verbose " - [$_]"
}
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ function Export-PowerShellDataFile {
$content | Out-File -FilePath $Path -Force:$Force
Format-ModuleManifest -Path $Path
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@

[System.IO.File]::WriteAllText($Path, $content, $Utf8BomEncoding)
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,5 @@
}
}
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,5 @@ function Invoke-PruneModule {
}
}
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ function Invoke-ReinstallModule {
Install-Module -Name $_ -Scope $Scope -Force
}
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
Original file line number Diff line number Diff line change
Expand Up @@ -413,3 +413,5 @@
Remove-Item -Path $Path -Force
Export-PowerShellDataFile -Hashtable $outManifest -Path $Path
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,5 @@ function Set-ScriptFileRequirement {

Write-Verbose 'All .ps1 files processed.'
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
2 changes: 2 additions & 0 deletions src/functions/public/PowerShell/Module/Uninstall-Pester.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@
Remove-Item -Path $pesterPath -Recurse -Force -Confirm:$false
}
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
2 changes: 2 additions & 0 deletions src/functions/public/PowerShell/Object/Copy-Object.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@
$InputObject | ConvertTo-Json -Depth 100 | ConvertFrom-Json

}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
2 changes: 2 additions & 0 deletions src/functions/public/String/Test-IsNotNullOrEmpty.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@
return -not ($Object | IsNullOrEmpty)

}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
2 changes: 2 additions & 0 deletions src/functions/public/String/Test-IsNullOrEmpty.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,5 @@
Write-Debug 'Object is not null or empty'
return $false
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
2 changes: 2 additions & 0 deletions src/functions/public/Windows/Set-WindowsSetting.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@
$Shell = New-Object -ComObject Shell.Application
$Shell.Windows() | ForEach-Object { $_.Refresh() }
}

#SkipTest:FunctionTest:Will add a test for this function in a future PR
Loading