Skip to content

feat(reporting): support consolidated PHP CI reports - #7

Merged
neilime merged 1 commit into
mainfrom
feat/consolidated-ci-reports
Nov 8, 2026
Merged

neilime merged 1 commit into
mainfrom
feat/consolidated-ci-reports

Conversation

@neilime

@neilime neilime commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

PHP lint and test actions now retain native reports so callers can use common's reporting workflow to publish one comment per report type. Artifacts contain only parsed files, include reports inside hidden directories, survive command failures, and use the current run attempt and a unique suffix with seven-day retention. Both actions expose report-artifact-id.

Add opt-in individual comments with collapsed details using ci-github-common 2.0.2. Comments remain disabled by default because existing PHP callers use read-only permissions. Enabling them requires pull-requests: write; human and bot authors follow the same same-repository PR rules. Annotations, summaries and native artifacts remain available with comments disabled.

The parser and consolidation example use released ci-github-common 2.0.2. Nested PHPUnit suites and root-level Cobertura reports are supported; the temporary integration pin has been removed.

Extend the dedicated test-action workflow and add a dedicated lint-action workflow. Scenarios retrieve and compare real PHPUnit/Cobertura and PHPStan Checkstyle reports, preserve failed command outcomes, reject unrelated files from artifacts, cover absent reports and disabled coverage publication, and exercise individual comments separately from read-only producers. Regenerate action references and the CI guide with CI Dokumentor, including the final reporting-job example.

Validation:

  • make setup, make test and make lint pass.
  • Actionlint, online zizmor and Prettier checks pass for the affected metadata and workflows.
  • Hosted CI is pending for the refreshed parser pin; scenarios cover native artifact retrieval, expected failures, absent reports and collapsed individual comments.

Dependency refresh validation: released action input contracts, actionlint where workflows changed, YAML formatting and git diff --check passed. Hosted CI is rerunning for the refreshed head.

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown

Hi, thank you for creating your PR, we will check it out very soon

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown

PHP lint results

Lint: 0 errors · 0 warnings in 1 diagnostic report(s).

Lint details

Lint results

Lint Checks

Severity Count
❌ Errors 0
⚠️ Warnings 0
Total 0

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Super-linter summary

Language Validation result
BIOME_FORMAT Pass ✅
BIOME_LINT Pass ✅
CHECKOV Pass ✅
GITHUB_ACTIONS Pass ✅
GITHUB_ACTIONS_ZIZMOR Pass ✅
GITLEAKS Pass ✅
GIT_COMMITLINT Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
JSCPD Pass ✅
MARKDOWN Pass ✅
MARKDOWN_PRETTIER Pass ✅
NATURAL_LANGUAGE Pass ✅
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅
YAML_PRETTIER Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter
Super-linter revision: 2da136927bd4a73596db63044b504547c62cb854
Super-linter version: 9.0.0

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown

PHP test results

Test: 1 passed · 0 failed · 0 skipped.

Test details

Test results

Test Results

Status Count
✅ Passed 1
❌ Failed 0
⏭️ Skipped 0
Total 1

✅ Pass Rate: 100.0%

Coverage: 1 source report(s); percentages remain separate.

Coverage details

Coverage results

Coverage

Metric Covered Total Percentage
Lines 1 1 100.00%

Overall: 100.00% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩

@neilime
neilime force-pushed the feat/consolidated-ci-reports branch 2 times, most recently from d90a902 to 5af8060 Compare November 8, 2026 08:11
@neilime
neilime force-pushed the feat/consolidated-ci-reports branch from 5af8060 to 46e4b82 Compare November 8, 2026 10:37
@neilime
neilime merged commit e1bcba2 into main Nov 8, 2026
58 checks passed
@neilime
neilime deleted the feat/consolidated-ci-reports branch November 8, 2026 11:18
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.

1 participant