Quellcode durchsuchen

Merge pull request #1299 from dsnopek/fix-tests

Hack adding `--quit-after 100` to ensure `extension_list.cfg` gets generated
David Snopek vor 1 Jahr
Ursprung
Commit
2dfe7929de
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      .github/workflows/ci.yml

+ 2 - 2
.github/workflows/ci.yml

@@ -171,8 +171,8 @@ jobs:
           chmod +x ./godot-artifacts/godot.linuxbsd.editor.x86_64.mono
           ./godot-artifacts/godot.linuxbsd.editor.x86_64.mono --headless --version
           cd test
-          # Need to run the editor 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))
+          # 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-after 100 >/dev/null 2>&1 || true))
           GODOT=../godot-artifacts/godot.linuxbsd.editor.x86_64.mono ./run-tests.sh
 
       - name: Upload artifact