ci: Split code coverage into Package Test and Project Test jobs#4101
Open
unity-nikos wants to merge 3 commits into
Open
ci: Split code coverage into Package Test and Project Test jobs#4101unity-nikos wants to merge 3 commits into
unity-nikos wants to merge 3 commits into
Conversation
Convert the existing coverage job to [Code Coverage] Package Test - NGO [ubuntu, trunk] and add [Code Coverage] Project Test - NGO testproject [ubuntu, trunk]. Wire Package Test into PR/nightly triggers and Project Test into the weekly run.
Codecov ReportAll modified and coverable lines are covered by tests ✅ @@ Coverage Diff @@
## develop-2.0.0 #4101 +/- ##
=================================================
+ Coverage 66.40% 73.87% +7.46%
=================================================
Files 163 172 +9
Lines 24999 28013 +3014
=================================================
+ Hits 16601 20695 +4094
+ Misses 8398 7318 -1080
Flags with carried forward coverage won't be shown. Click here to find out more. see 67 files with indirect coverage changes
|
unity-nikos
marked this pull request as ready for review
July 24, 2026 14:24
unity-nikos
requested review from
a team,
EmandM and
NoelStephensUnity
as code owners
July 24, 2026 14:24
EmandM
reviewed
Jul 24, 2026
| # [Code Coverage] Package Test runs on PR changes (pr_code_changes_checks) and nightly (develop_nightly) | ||
| # [Code Coverage] Project Test runs on PR changes (pr_code_changes_checks) and nightly (develop_nightly) | ||
|
|
||
| {% assign editor = "trunk" -%} |
Member
There was a problem hiding this comment.
Do you mind using the pinnedTrunk variable we have in project.metafile?
Occasionally trunk breaks our tests so we have a pinned "safe" version for PRs. We update the pinned version fairly regularly. Our nightly and weekly tests run on actual trunk.
Contributor
Author
EmandM
approved these changes
Jul 24, 2026
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.

Purpose of this PR
Splits the code coverage Yamato config into two focused jobs so coverage is measured for both the package's own tests and the in-repo
testproject:Code Coverage - NGO [ubuntu, 6000.3]job into[Code Coverage] Package Test - NGO [ubuntu, trunk](idcode_coverage_package_test_ubuntu_trunk). Same coverage command as before; editor moved totrunk.[Code Coverage] Project Test - NGO testproject [ubuntu, trunk](idcode_coverage_project_test_testproject_ubuntu_trunk) — a single instance that runs thetestprojectEditMode/PlayMode tests with coverage enabled (depsrun_quick_checks+package-pack, matchingproject-tests.yml).Trigger wiring in
_triggers.yml— both coverage jobs run together on:pr_code_changes_checks) — replaces the oldcode_coverage_ubuntu_{{ validation_editors.default }}reference.develop_nightly).(Neither job runs in the weekly trigger.)
Both jobs stay single-instance (Ubuntu, trunk) since coverage doesn't vary meaningfully across platforms/editors.
Jira ticket
TODO: link ticket (e.g. MTT-XXXX)
Changelog
Not applicable — CI-only change, no package/public-facing changes.
Documentation
Testing & QA (How your changes can be verified during release Playtest)
Rendered every
.yamato/*.ymlthrough a local Liquid renderer and verified:run_quick_checksdependency exists in_run-all.yml.Final verification is the Yamato jobs themselves running green on this PR.
Functional Testing
Manual testing :
Manual testing doneAutomated tests:
Covered by existing automated testsCovered by new automated testsDoes the change require QA team to:
Review automated tests?Execute manual tests?Provide feedback about the PR?Up-port
TODO: link the develop-3.0.0 up-port PR, or state if not needed (does the same code-coverage.yml structure exist on develop-3.0.0?).
Backports
TODO: link any backport PR (e.g. develop), or state if not needed.
🤖 Generated with Claude Code