From 0a32ab965fdf23a2c9eba83c7c867430dff8e2cb Mon Sep 17 00:00:00 2001 From: MGPOCKY Date: Sat, 1 Aug 2026 05:24:38 +0000 Subject: [PATCH] ci: name change-detection and test-discovery steps for readability --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8cc71f1385..96af71f2d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,8 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - id: check + - name: Detect UI-only changes + id: check run: | DEFAULT_BRANCH="${{ github.event.repository.default_branch }}" @@ -120,7 +121,8 @@ jobs: tests: ${{ steps.find.outputs.tests }} steps: - uses: actions/checkout@v3 - - id: find + - name: Discover VM test files + id: find run: | tests=$(find packages/umbreld/source -name "*.vm.test.ts" | sed 's|packages/umbreld/||' | jq -R -s -c 'split("\n") | map(select(length > 0)) | map({path: ., name: (. | split("/") | last | sub("\\.vm\\.test\\.ts$"; ""))})') echo "tests=$tests" >> $GITHUB_OUTPUT @@ -169,7 +171,8 @@ jobs: tests: ${{ steps.find.outputs.tests }} steps: - uses: actions/checkout@v3 - - id: find + - name: Discover integration test files + id: find run: | tests=$(find packages/umbreld/source -name "*.integration.test.ts" | sed 's|packages/umbreld/||' | jq -R -s -c 'split("\n") | map(select(length > 0)) | map({path: ., name: (. | split("/") | last | sub("\\.integration\\.test\\.ts$"; ""))})') echo "tests=$tests" >> $GITHUB_OUTPUT