From a2d16c0313aa493624e66498992cd03cd09d5182 Mon Sep 17 00:00:00 2001 From: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Date: Wed, 17 Jul 2024 12:15:13 +0200 Subject: [PATCH] [CI] Run unit tests on desktop release templates --- .github/workflows/linux_builds.yml | 11 ++++++----- .github/workflows/macos_builds.yml | 6 +++--- .github/workflows/windows_builds.yml | 6 +++--- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/linux_builds.yml b/.github/workflows/linux_builds.yml index 8eb6e3afd93..10389dc9da0 100644 --- a/.github/workflows/linux_builds.yml +++ b/.github/workflows/linux_builds.yml @@ -74,16 +74,18 @@ jobs: - name: Template w/ Mono (target=template_release) cache-name: linux-template-mono target: template_release - sconsflags: module_mono_enabled=yes + sconsflags: module_mono_enabled=yes tests=yes + bin: "./bin/godot.linuxbsd.template_release.x86_64.mono" build-mono: false - tests: false + tests: true artifact: true - name: Minimal template (target=template_release, everything disabled) cache-name: linux-template-minimal target: template_release - sconsflags: modules_enabled_by_default=no disable_3d=yes disable_advanced_gui=yes deprecated=no minizip=no - tests: false + sconsflags: modules_enabled_by_default=no disable_3d=yes disable_advanced_gui=yes deprecated=no minizip=no tests=yes + bin: "./bin/godot.linuxbsd.template_release.x86_64" + tests: true artifact: true steps: @@ -174,7 +176,6 @@ jobs: with: bin: ${{ matrix.bin }} - # Execute unit tests for the editor - name: Unit tests if: ${{ matrix.tests }} run: | diff --git a/.github/workflows/macos_builds.yml b/.github/workflows/macos_builds.yml index f564a496e2e..4db7462b3a8 100644 --- a/.github/workflows/macos_builds.yml +++ b/.github/workflows/macos_builds.yml @@ -29,8 +29,9 @@ jobs: - name: Template (target=template_release) cache-name: macos-template target: template_release - tests: false - sconsflags: debug_symbols=no + tests: true + sconsflags: debug_symbols=no tests=yes + bin: "./bin/godot.macos.template_release.universal" steps: - uses: actions/checkout@v4 @@ -84,7 +85,6 @@ jobs: with: name: ${{ matrix.cache-name }} - # Execute unit tests for the editor - name: Unit tests if: ${{ matrix.tests }} run: | diff --git a/.github/workflows/windows_builds.yml b/.github/workflows/windows_builds.yml index 8c931794483..90629204e6a 100644 --- a/.github/workflows/windows_builds.yml +++ b/.github/workflows/windows_builds.yml @@ -34,8 +34,9 @@ jobs: - name: Template (target=template_release) cache-name: windows-template target: template_release - tests: false - sconsflags: debug_symbols=no + tests: true + sconsflags: debug_symbols=no tests=yes + bin: "./bin/godot.windows.template_release.x86_64.console.exe" steps: - uses: actions/checkout@v4 @@ -91,7 +92,6 @@ jobs: with: name: ${{ matrix.cache-name }} - # Execute unit tests for the editor - name: Unit tests if: ${{ matrix.tests }} run: |