Skip to content

Commit 96929cf

Browse files
committed
CI: Add the gametest
1 parent 7986c53 commit 96929cf

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,23 @@ jobs:
5353
name: MouseTweaks-Fabric
5454
path: build/libs/
5555
if-no-files-found: error
56+
57+
test:
58+
runs-on: ubuntu-latest
59+
steps:
60+
- uses: ./.github/actions/setup
61+
62+
- name: Build testmod
63+
run: ./gradlew --build-file build-fabric.gradle testmodClientClasses
64+
65+
- name: Run gametest
66+
uses: GabrielBB/xvfb-action@v1
67+
with:
68+
run: ./gradlew --build-file build-fabric.gradle runClientGametest
69+
70+
- name: Upload screenshot
71+
uses: actions/upload-artifact@v6
72+
with:
73+
name: screenshot
74+
path: run/screenshots/
75+
if-no-files-found: error

0 commit comments

Comments
 (0)