fix(mc-versions): add the 26.3 runtime-test module - #152
Open
yogurtreceptor wants to merge 1 commit into
Open
yogurtreceptor wants to merge 1 commit into
yogurtreceptor wants to merge 1 commit into
Conversation
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.
fix(mc-versions): add the 26.3 runtime-test module
Add a 26_3 module based on 26_2, with Fabric, NeoForge and Forge builds on Java
25. The updated GameTest batch and runner APIs take MinecraftServer instead of
ServerLevel.
McRuntimeGameTestInstanceoptionally selects a registered test and places itsstructure in the fresh world. The tests select
minecraft:always_passandrequire at least one result, so an empty run cannot pass. Without the selector,
nearby test discovery is unchanged.
Forge and NeoForge disable GameTest ticking in installed production clients.
The loader mixins enable their normal ticker while
McRuntimeGameTestis true.The runner logs test/failure counts and saves the world before returning an
error for a failed batch. Deliberate failures were checked on all three
loaders, with optional-failure handling checked separately.
All three jars build. With the accompanying HeadlessMC changes, the
26.3 platform matrix
passed all twelve jobs: nine no-render jobs across Linux, Windows and macOS,
and three Linux rendering jobs. Each log records one completed GameTest, zero
failures and shutdown saves. The
launcher build and integration checks
also passed, including its existing older-version checks.
This adds the module and its build entry. Existing runtime jobs are unchanged.
The 26.3 runtime entries can be enabled after a compatible HeadlessMC release
is available and selected in the action's
hmc-versiondefault. The Linuxrendering jobs will also need the EGL setup used in the linked test run.
Companion launcher update: headlesshq/headlessmc#431