Tooling, pipelines, and tests that support the Icon Editor lab experience.
- Ensure the latest
developcommit is green (CI + coverage gates >= 75%). - Tag the commit with the next semantic version (e.g.,
git tag v0.2.0 && git push origin v0.2.0). - The
release.ymlworkflow runs automatically forv*tags or viaworkflow_dispatch, executes the Pester suite, enforces the coverage floors, uploads test/coverage artifacts, and creates the GitHub Release with those artifacts attached.
- Pre-commit path policy guard:
tools/git-hooks/Invoke-PreCommitChecks.ps1scans staged PowerShell files for hard-coded drive-letter paths and fails the commit if found. - Pre-push test gate:
tools/git-hooks/Invoke-PrePushChecks.ps1runsInvoke-Pester -Path tests -CIand writes NUnit XML underartifacts/test-results. - One-liner setup:
pwsh -NoLogo -NoProfile -File tools/git-hooks/Install-GitHooks.ps1(creates.git/hooks/pre-commitand.git/hooks/pre-pushthat invoke the scripts above). - To temporarily skip locally, set
ICONEDITORLAB_SKIP_PRECOMMIT=1orICONEDITORLAB_SKIP_PREPUSH=1.