Skip to content

Commit 05129b1

Browse files
committed
Run runtime gametests in CI
1 parent ece2230 commit 05129b1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,16 @@ jobs:
6161
with:
6262
if-no-files-found: error
6363
path: loader-*/build/libs/*
64+
- name: 'Copy mods to runtime client'
65+
run: mkdir -p run/mods && cp $(find loader-neoforge/build/libs -regex '.*[0-9]\.jar') run/mods
66+
- name: 'Test in runtime client'
67+
uses: headlesshq/mc-runtime-test@4.1.0
68+
with:
69+
mc: 1.21.1
70+
modloader: neoforge
71+
regex: .*neoforge.*
72+
mc-runtime-test: neoforge
73+
java: ${{ env.java_version }}
6474
- name: 'Deploy to CurseForge'
6575
if: startsWith(github.ref, 'refs/tags/') || (!startsWith(github.event.head_commit.message, 'Bump mod version') && startsWith(github.ref, 'refs/heads/master'))
6676
env:

0 commit comments

Comments
 (0)