Skip to content

Commit 1c3d86f

Browse files
committed
Add test timeout
1 parent 37a71a2 commit 1c3d86f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## `2.0.4` - 2025-06-19
4+
5+
### Changes
6+
7+
- Added a 10-minute timeout to the client and server test jobs, since HeadlessMC seems to just hang sometimes.
8+
39
## `2.0.3` - 2025-06-19
410

511
### Additions

template/.github/workflows/build.yml.jinja

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ jobs:
141141

142142
- name: Run MC test client
143143
if: matrix.env == 'client'
144+
# sometimes the headlessmc launcher just hangs for no clear reason
145+
# you can try re-running the failed jobs if it hits this, or increase the timeout if your mod actually takes that long to load
146+
timeout-minutes: 10
144147
uses: headlesshq/mc-runtime-test@3.1.1
145148
with:
146149
java: 17
@@ -152,6 +155,7 @@ jobs:
152155

153156
- name: Run MC test server
154157
if: matrix.env == 'server'
158+
timeout-minutes: 10 # see above
155159
uses: headlesshq/mc-server-test@1.0.0
156160
with:
157161
java: 17

0 commit comments

Comments
 (0)