Browse Source

CI: Add headless import test

Thaddeus Crews 1 tháng trước cách đây
mục cha
commit
57eac93820
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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: |