mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-20 19:19:40 +00:00
feat: add smoke test workflow for Minecraft 26.2
This commit is contained in:
1 parent
f334a61faa
commit
56c7e9196d
1 file changed
+30
@@ -1,5 +1,7 @@
|
||||
name: Pull Request
|
||||
on:
|
||||
push:
|
||||
branches: [ci/minecraft-smoke]
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
branches: [15-develop]
|
||||
@@ -14,3 +16,31 @@ jobs:
|
||||
- uses: ./.github/actions/build
|
||||
with:
|
||||
artifact-name: CustomSkinLoader-PR-${{ github.run_number }}
|
||||
|
||||
smoke:
|
||||
name: Minecraft Smoke Test
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
env:
|
||||
LIBGL_ALWAYS_SOFTWARE: 'true'
|
||||
steps:
|
||||
- uses: actions/setup-java@v5
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: '25'
|
||||
|
||||
- uses: actions/download-artifact@v8
|
||||
with:
|
||||
name: CustomSkinLoader-PR-${{ github.run_number }}
|
||||
path: run/mods
|
||||
|
||||
- uses: headlesshq/[email protected]
|
||||
with:
|
||||
mc: '26.2'
|
||||
modloader: neoforge
|
||||
regex: '.*neoforge.*'
|
||||
java: '25'
|
||||
mc-runtime-test: neoforge
|
||||
dummy-assets: 'false'
|
||||
headlessmc-command: '--jvm "-Djava.awt.headless=true -DMcRuntimeGameTest=false"'
|
||||
Reference in new issue
Block a user