Fix rendering according to test

This commit is contained in:
Leroy Hopson 2024-02-18 20:26:32 +13:00
parent 6d112ca0f2
commit 4771a3c9a7
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
5 changed files with 65 additions and 5 deletions

View file

@ -246,7 +246,7 @@ jobs:
path: docs/demo
test:
name: Test (${{ matrix.platform }}, ${{ matrix.arch }}, debug)
name: Test (${{ matrix.test-type }}, ${{ matrix.platform }}, ${{ matrix.arch }}, debug)
needs: [check-archive, check-pre-commit]
runs-on: ${{ matrix.os }}
strategy:
@ -254,6 +254,10 @@ jobs:
matrix:
platform: [linux, windows] # Testing not currently supported on macOS.
bits: [64, 32]
test-type: [headless, rendering]
exclude:
- platform: windows
test-type: rendering
include:
- platform: linux
os: ubuntu-22.04
@ -302,7 +306,13 @@ jobs:
name: libgodot-xterm-debug
path: addons/godot_xterm/native/bin
- name: Test
run: just test
shell: bash
run: |
if [ "${{ matrix.test-type }}" = "headless" ]; then
just test
else
just test-${{ matrix.test-type }}
fi
delete-asset-imports:
name: Delete Asset Imports