Browse Source

CI: Add headless import test

Thaddeus Crews 1 month ago
parent
commit
57eac93820
1 changed files with 6 additions and 0 deletions
  1. 6 0
      .github/actions/godot-project-test/action.yml

+ 6 - 0
.github/actions/godot-project-test/action.yml

@@ -19,6 +19,12 @@ runs:
 
     # Editor is quite complicated piece of software, so it is easy to introduce bug here.
 
+    - name: Open and close editor (Headless)
+      shell: sh
+      run: |
+        xvfb-run ${{ inputs.bin }} --headless --import --path test_project 2>&1 | tee sanitizers_log.txt || true
+        misc/scripts/check_ci_log.py sanitizers_log.txt
+
     - name: Open and close editor (Vulkan)
       shell: sh
       run: |