From 604de30fa29f88f02e214cee8696e65672576df6 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 11 Feb 2026 03:51:27 +0100 Subject: [PATCH] fix(workflow): rename ui compatibility test (#9207) --- .github/workflows/ui-compatibility.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ui-compatibility.yml b/.github/workflows/ui-compatibility.yml index a0ca24e09..0bf772b78 100644 --- a/.github/workflows/ui-compatibility.yml +++ b/.github/workflows/ui-compatibility.yml @@ -57,7 +57,7 @@ jobs: retention-days: 1 test-compatibility: - name: Test ${{ matrix.example }} + name: Test Compatibility if: needs.files-changed.outputs.ui == 'true' needs: [files-changed, build-library] runs-on: ubuntu-latest @@ -101,3 +101,21 @@ jobs: - name: Build example app run: npm run build + + compatibility-result: + name: Compatibility Result + if: always() + needs: [files-changed, test-compatibility] + runs-on: ubuntu-latest + steps: + - name: Skip if no UI changes + if: needs.files-changed.outputs.ui != 'true' + run: echo "No UI changes detected, skipping." + + - name: Check matrix results + if: needs.files-changed.outputs.ui == 'true' + run: | + if [ "${{ needs.test-compatibility.result }}" != "success" ]; then + echo "Compatibility tests failed" + exit 1 + fi