Skip to content

Add JSON schema validation to CI#122

Merged
Will-thom merged 1 commit into
mainfrom
ci/json-schema-validation
Jun 2, 2026
Merged

Add JSON schema validation to CI#122
Will-thom merged 1 commit into
mainfrom
ci/json-schema-validation

Conversation

@Will-thom
Copy link
Copy Markdown
Collaborator

Summary

  • validate generated demo JSON reports against schema/prmaven-report.schema.json with Go tests
  • add a dependency-light CI job for JSON schema validation
  • document the focused schema validation command in testing and CI docs
  • emit empty findings as [] so no-failure JSON matches the schema contract

Validation

  • go test ./pkg/prmaven -run TestGeneratedJSONReportsValidateAgainstSchema -v
  • git diff --check
  • .github/scripts/check-public-metadata.sh
  • go test ./...

Closes #71

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

Hi @Will-thom, thank you for contributing to PR Maven CLI.

I appreciate the time you spent opening this pull request. This project is intentionally shaped for focused, reviewable open source contributions, so your input helps the tool become more useful for Java and Maven teams.

A maintainer will review the context, labels, and next steps as soon as possible. If this is your first contribution here, welcome aboard.

Useful links:

  • Contributing guide: CONTRIBUTING.md
  • Testing guide: docs/testing.md
  • CI/CD guide: docs/ci.md

Thank you for helping build a deterministic, local-first Maven failure triage tool.

@Will-thom Will-thom merged commit 569bb16 into main Jun 2, 2026
23 checks passed
@Will-thom Will-thom deleted the ci/json-schema-validation branch June 2, 2026 20:07
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.

[Stage 2.1] Add JSON schema validation to CI

1 participant