Skip to content

feat(reports)!: adopt unified CI reporting - #34

Open
neilime wants to merge 31 commits into
mainfrom
feat/native-github-coverage
Open

neilime wants to merge 31 commits into
mainfrom
feat/native-github-coverage

Conversation

@neilime

@neilime neilime commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

PHP test and lint actions run the consumer's Composer commands and retain fresh JUnit, coverage XML and Checkstyle evidence through Common preparation.

Keep detailed results for every PHP version, with lint and coverage on the highest version. Preserve failure diagnostics and dedicated success/failure/missing-report fixtures. Remove recorder handles, producer comments and nested collectors.

Configured Super-Linter and changed workflow validation passed locally.

Common now has two reporting responsibilities: prepare-ci-reports delegates normalization to maintained converters, and one publish-ci-reports.yml job gathers artifacts and composes upstream publishers. Missing or malformed promised reports fail the producer; valid failed tests remain available for publication. A separate CI complete job owns the overall verdict.

Candidate dependencies use immutable SHAs with PR comments. Release Common #683, then Node.js #624, then dependent providers and consumers. Replace candidate pins with released SHAs before merging. Common uses released Node.js tooling, avoiding a release cycle.

Changed workflows and generated references pass local validation. Hosted CI passes on a9edb3c, including dedicated action tests and consolidated publication. Native GitHub coverage requires the separate Enterprise Cloud pilot; public fallback does not validate that integration.

@github-actions

Copy link
Copy Markdown

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

@github-actions github-actions Bot added the type: feature Introduces a new feature label Nov 26, 2026
@github-actions

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 26, 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

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 changed the title feat(coverage): support native GitHub Code Quality reports feat(reports)!: adopt unified CI reporting Nov 26, 2026
@github-actions github-actions Bot added the type: breaking Introduces a breaking change label Nov 26, 2026
@neilime
neilime force-pushed the feat/native-github-coverage branch from 00e691d to 98ee759 Compare November 28, 2026 16:41
@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Test coverage

Results for 96efe75

Project Lines covered
get-php-versions 73.7% (70 / 95)
php-project 100.0% (1 / 1)
.test-php-tests 100.0% (1 / 1)

Comparison unavailable: No comparable report retained for the exact PR base commit.

Coverage measurement details
Project Measured commit
get-php-versions 96efe75 (PR head)
php-project 96efe75 (PR head)
.test-php-tests 96efe75 (PR head)

get-php-versions: 8.6.0 · No changed instrumented lines in this dataset.

php-project: 8.6.0 · No changed instrumented lines in this dataset.

.test-php-tests: 8.5.13 · No changed instrumented lines in this dataset.

Changed-line coverage counts only added or modified lines present in the native coverage report. Files and lines omitted by the coverage tool are not measured. Deleted lines are excluded.

Full report and native artifacts

@github-actions

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

CI report

Workflow run · Commit e16c60e

Project Check Runtime Result Tests Lint findings Coverage
. Super-Linter ✅ Passed 0 0 -
.test-php-lint PHP lint checks 8.5.13 ✅ Passed 0 0 -
.test-php-tests PHP tests (3 runs) 8.5.13 ✅ Passed 3 0 100%
actions/get-php-versions PHP tests 8.6.0 ✅ Passed 18 0 73.6%
actions/get-php-versions PHP tests 8.4.28 ✅ Passed 18 0 -
actions/get-php-versions PHP tests 8.5.13 ✅ Passed 18 0 -
tests/php-project PHP lint checks 8.6.0 ✅ Passed 0 0 -
tests/php-project PHP tests 8.3.37 ✅ Passed 1 0 -
tests/php-project PHP tests 8.5.13 ✅ Passed 1 0 -
tests/php-project PHP tests 8.2.36 ✅ Passed 1 0 -
tests/php-project PHP tests 8.4.28 ✅ Passed 1 0 -
tests/php-project PHP tests 8.6.0 ✅ Passed 1 0 100%
Workflow jobs
Job Result
linter success
test-workflow-continuous-integration success
test-action-get-php-versions success
test-action-setup-php success
test-action-package-test success
test-workflow-release success
test-action-test success
test-action-lint success
test-workflow-documentation success
Coverage details

Destination: This report.

Metric Covered Total Coverage
Lines 72 97 74.2%
Branches 0 0 -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: breaking Introduces a breaking change type: feature Introduces a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant