headlesshq/MC-Runtime-Test
Runs the MC client inside your CI
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 6, 2026
- License
- MIT
Pinned Snippet
uses: headlesshq/mc-runtime-test@9d9ea4af8ef6d82648051f750c49905f75d0c3bb # 4.4.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| mc | Minecraft version to run | yes | — |
| modloader | Modloader to install (forge, neoforge, fabric) | yes | — |
| regex | Regex to match the modloader jar (i.e. .*fabric.*) | yes | — |
| java | Java version to use (8, 16, 17, 21, 25) | yes | — |
| dummy-assets | Use dummy assets during testing | — | true |
| mc-runtime-test | MC-Runtime-Test jar to download (none, lexforge, neoforge, fabric) | yes | — |
| xvfb | Runs the game with Xvfb (if false, add the -lwjgl argument) | — | true |
| headlessmc-command | Command-line arguments for HeadlessMC | — | --jvm "-Djava.awt.headless=true" |
| fabric-api | Fabric API version to download (e.g. 0.97.0) or none | — | none |
| fabric-gametest-api | Fabric GameTest API version (e.g. 1.3.5+85d85a934f) or none | — | none |
| download-hmc | Download HeadlessMC | — | true |
| hmc-version | HeadlessMC version | — | 2.10.0 |
| cache-mc | Cache .minecraft (blacksmith, github, true (defaults to blacksmith), false) | — | github |
Outputs
no outputs