Răsfoiți Sursa

Merge pull request #109090 from Repiteo/ci/headless-import-test

CI: Add headless import test
Thaddeus Crews 1 lună în urmă
părinte
comite
deba8ff9a3
1 a modificat fișierele cu 6 adăugiri și 0 ștergeri
  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: |