Skip to content

ci: add Quality Assurance workflow with XML lint#158

Merged
PeterMosmans merged 1 commit into
mainfrom
feat/ci-quality-assurance
May 26, 2026
Merged

ci: add Quality Assurance workflow with XML lint#158
PeterMosmans merged 1 commit into
mainfrom
feat/ci-quality-assurance

Conversation

@gronke

@gronke gronke commented May 17, 2026

Copy link
Copy Markdown
Contributor

Add GitHub Workflow for XML linting.

Adds .github/workflows/quality-assurance.yml triggered on push to main
and on pull_request. First job, xml-lint, runs three phases via
scripts/lint-xml.sh:

  - well-formed: xmllint --noout per *.xml file
  - schema:      XSD validation of files declaring
                 xsi:noNamespaceSchemaLocation, looked up by basename
                 in dtd/; runs xmllint --xinclude --schema
  - format:      zpretty --check on every *.xml file

Each phase uses continue-on-error so pre-existing issues do not block
PRs; the workflow always produces a markdown summary on the run page
with file counts and failure counts per phase. The script propagates
counts via GITHUB_OUTPUT, and prints a `SUMMARY phase=... total=N
failed=M` line for visibility in local runs and CI logs.
@PeterMosmans PeterMosmans merged commit 1844734 into main May 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants