From 43c61e42dbc1aa549b1d5c3fa46e83b3df515d7a Mon Sep 17 00:00:00 2001 From: JoshuaMoelans <60878493+JoshuaMoelans@users.noreply.github.com> Date: Thu, 9 Apr 2026 11:34:14 +0200 Subject: [PATCH] chore(ci): run console unit tests on master push Add UNIT_TEST mode (single-config build + on-device unit tests) triggered on pushes to master, sitting between BUILD_ONLY (PRs) and FULL_TEST (release branches). Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/console-check.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/console-check.yml b/.github/workflows/console-check.yml index 4790ef60cf..8e39e4c098 100644 --- a/.github/workflows/console-check.yml +++ b/.github/workflows/console-check.yml @@ -1,5 +1,6 @@ # Triggers build-compatibility checks in console repos (PlayStation, Xbox, Switch) -# whenever a PR is updated, or full tests on release branches. +# whenever a PR is updated, unit tests on master pushes, or full tests on +# release branches. # # This workflow does NOT wait for results. Each console repo posts a commit # status back to this repo's SHA when it finishes (success/failure). @@ -13,6 +14,7 @@ on: - "*.md" push: branches: + - master - "release/**" concurrency: @@ -56,8 +58,10 @@ jobs: - name: Determine mode id: mode run: | - if [[ "${{ github.event_name }}" == "push" ]]; then + if [[ "${{ github.event_name }}" == "push" && "${{ github.ref }}" == refs/heads/release/* ]]; then echo "mode=FULL_TEST" >> "$GITHUB_OUTPUT" + elif [[ "${{ github.event_name }}" == "push" && "${{ github.ref }}" == "refs/heads/master" ]]; then + echo "mode=UNIT_TEST" >> "$GITHUB_OUTPUT" else echo "mode=BUILD_ONLY" >> "$GITHUB_OUTPUT" fi