Project

PSPublishModule

PSPublishModule is an open-source PowerShell and .NET project with packages, release history, and technical documentation.

Stars47
Forks16
Open issues0
PowerShell Gallery downloads17213
Releasev3.0.131
Language: C# Updated: 2026-09-02T21:02:59.0000000+00:00

Curated Examples

Example.Moduletestingcicd

Source-owned example maintained with PSPublishModule.

# Example: Simple CI/CD Pipeline Integration
# This example shows the simplest way to integrate testing into CI/CD pipelines

# For CI/CD - just use the -CICD switch for optimized settings
Invoke-ModuleTestSuite -CICD -EnableCodeCoverage

# That's it! The -CICD switch automatically:
# - Uses minimal output for clean logs
# - Exits with proper code (0 = success, 1 = failure)
# - Sets environment variables for GitHub Actions & Azure DevOps
# - Finds your module, installs dependencies, imports module, runs tests