Merge pull request #1299 from dsnopek/fix-tests

Hack adding `--quit-after 100` to ensure `extension_list.cfg` gets generated
pull/1280/head
David Snopek 2023-11-06 07:05:58 +01:00 committed by GitHub
commit 2dfe7929de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -171,8 +171,8 @@ jobs:
chmod +x ./godot-artifacts/godot.linuxbsd.editor.x86_64.mono chmod +x ./godot-artifacts/godot.linuxbsd.editor.x86_64.mono
./godot-artifacts/godot.linuxbsd.editor.x86_64.mono --headless --version ./godot-artifacts/godot.linuxbsd.editor.x86_64.mono --headless --version
cd test cd test
# Need to run the editor so .godot is generated... but it crashes! Ignore that :-) # Need to run the editor twice so .godot is generated... but it crashes! Ignore that :-)
(cd project && (../../godot-artifacts/godot.linuxbsd.editor.x86_64.mono --editor --headless --quit >/dev/null 2>&1 || true)) (cd project && (../../godot-artifacts/godot.linuxbsd.editor.x86_64.mono --editor --headless --quit-after 100 >/dev/null 2>&1 || true))
GODOT=../godot-artifacts/godot.linuxbsd.editor.x86_64.mono ./run-tests.sh GODOT=../godot-artifacts/godot.linuxbsd.editor.x86_64.mono ./run-tests.sh
- name: Upload artifact - name: Upload artifact