Seed coverage+link gates, ADR/RTM seeds, and CI artifacts for rc0.1.0#15
Draft
svelderrainruiz wants to merge 6 commits into
Draft
Conversation
added 5 commits
November 14, 2025 10:38
## Summary - Enforce the RC coverage gate on Windows by running Pester ≥6, producing Cobertura + JUnit artifacts, and failing fast below 75% total or per-file coverage. - Add a lychee-based docs link check that retries/time-limits scans and preserves its `.lychee` report. - Seed root-level ADR/RTM files for traceability and document how to run the full PowerShell test suite locally. ## Diagnostics - Default branch: `develop` - Test framework: Pester (PowerShell 7, workflows install Pester ≥6) - Existing workflows touching tests/docs: coverage.yml, docs-link-check.yml, ci-ubuntu-minimal.yml, psscriptanalyzer.yml - ADR paths: `architecture/adr/` (existing) plus new `adr/ADR-0001.md` ## What's in this PR - Windows coverage workflow emitting `artifacts/coverage/coverage.xml` and `artifacts/test-results/results.xml`, enforcing ≥75% total coverage and 75% per-file floors for `src/Core.psm1`/`tools/Build.ps1` when present, and uploading artifacts via `junit-results` / `coverage-xml` on every run. - Ubuntu docs link-check workflow using `lycheeverse/lychee-action@v1` with `--no-progress --retry 2 --timeout 20s`, persisting `.lychee/report.md`, and always uploading `lychee-report`. - Root ADR seed (`adr/ADR-0001.md`) plus `docs/RTM.md` in the requested seed layout. - README instructions for running `pwsh -NoLogo -Command "Invoke-Pester -Path tests -CI"` locally, mentioning the coverage + link-check gates. ## Gates - Coverage ≥75% (global) with per-file floors for `src/Core.psm1` and `tools/Build.ps1` if they exist. - Link-check job uploads `.lychee/**` artifacts each run. ## Artifacts - `coverage-xml` → `artifacts/coverage/coverage.xml` - `junit-results` → `artifacts/test-results/results.xml` - `lychee-report` → `.lychee/**` ## Acceptance Checklist - [x] Coverage job ran and uploaded artifacts - [x] Coverage ≥ 75% line total (enforced in workflow) - [x] Critical file floors ≥ 75% when the files exist - [x] Docs link-check job ran and uploaded `.lychee` report - [x] `adr/ADR-0001.md` present with the required header - [x] `docs/RTM.md` present with the seeded table - [x] README documents local test instructions
Author
|
trigger: v4.9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Default branch: develop
Test framework: Pester (PowerShell 7) with workflows installing ≥6.0.0
Workflows touching tests/docs: coverage.yml, docs-link-check.yml, ci-ubuntu-minimal.yml, psscriptanalyzer.yml
ADR paths: adr/ADR-0001.md, architecture/adr/**
docs/RTM.md present with seed table
CI gate expectations:
Coverage job uploads artifacts/coverage/coverage.xml and artifacts/test-results/results.xml, failing <75% total or <75% per-file for src/Core.psm1/tools/Build.ps1 (skipped if missing).
Docs link-check uploads .lychee/** artifacts even on failure.