浏览代码

CI: Add headless import test

Thaddeus Crews 1 月之前
父节点
当前提交
57eac93820
共有 1 个文件被更改,包括 6 次插入0 次删除
  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: |