Skip to content

Commit 56c7e91

Browse files
committed
feat: add smoke test workflow for Minecraft 26.2
1 parent f334a61 commit 56c7e91

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

‎.github/workflows/pull-request.yml‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Pull Request
22
on:
3+
push:
4+
branches: [ci/minecraft-smoke]
35
pull_request:
46
types: [opened, synchronize, reopened]
57
branches: [15-develop]
@@ -14,3 +16,31 @@ jobs:
1416
- uses: ./.github/actions/build
1517
with:
1618
artifact-name: CustomSkinLoader-PR-${{ github.run_number }}
19+
20+
smoke:
21+
name: Minecraft Smoke Test
22+
needs: build
23+
runs-on: ubuntu-latest
24+
timeout-minutes: 20
25+
env:
26+
LIBGL_ALWAYS_SOFTWARE: 'true'
27+
steps:
28+
- uses: actions/setup-java@v5
29+
with:
30+
distribution: temurin
31+
java-version: '25'
32+
33+
- uses: actions/download-artifact@v8
34+
with:
35+
name: CustomSkinLoader-PR-${{ github.run_number }}
36+
path: run/mods
37+
38+
- uses: headlesshq/mc-runtime-test@4.5.1
39+
with:
40+
mc: '26.2'
41+
modloader: neoforge
42+
regex: '.*neoforge.*'
43+
java: '25'
44+
mc-runtime-test: neoforge
45+
dummy-assets: 'false'
46+
headlessmc-command: '--jvm "-Djava.awt.headless=true -DMcRuntimeGameTest=false"'

0 commit comments

Comments
 (0)