diff --git a/.github/workflows/reusable-functional.yml b/.github/workflows/reusable-functional.yml index 48c1fe5..d1ab1a8 100644 --- a/.github/workflows/reusable-functional.yml +++ b/.github/workflows/reusable-functional.yml @@ -35,11 +35,12 @@ permissions: jobs: functional: - # The calling job already states "Behat | PHP x" and groups on it, so this only - # needs to identify the leg within that group. The database version is spelled + # This name has to stand on its own. The run view labels a nested job with its + # own name only; the calling job's name is not surfaced at this depth, so + # anything omitted here is not shown anywhere. The database version is spelled # out because "MySQL" alone rendered the mysql-8.0 and mysql-8.4 legs # identically. - name: WP ${{ inputs.wp }} | ${{ inputs.dbtype == 'sqlite' && 'SQLite' || inputs.mysql || 'MySQL' }}${{ inputs.object_cache == 'sqlite' && ' (Obj Cache)' || '' }}${{ inputs.coverage && ' (with coverage)' || '' }}${{ startsWith( inputs.os, 'windows' ) && ' (Windows)' || '' }}${{ startsWith( inputs.os, 'macos' ) && ' (macOS)' || '' }} + name: Behat | PHP ${{ inputs.php }} | WP ${{ inputs.wp }} | ${{ inputs.dbtype == 'sqlite' && 'SQLite' || inputs.mysql || 'MySQL' }}${{ inputs.object_cache == 'sqlite' && ' (Obj Cache)' || '' }}${{ inputs.coverage && ' (with coverage)' || '' }}${{ startsWith( inputs.os, 'windows' ) && ' (Windows)' || '' }}${{ startsWith( inputs.os, 'macos' ) && ' (macOS)' || '' }} # Repositories with a heavy Behat suite can point the default Linux legs at a # larger runner by setting the `RUNNERS_NAME` repository variable, without # having to fork this workflow. Explicit macOS/Windows legs are unaffected. diff --git a/.github/workflows/reusable-testing.yml b/.github/workflows/reusable-testing.yml index ff2b541..339f994 100644 --- a/.github/workflows/reusable-testing.yml +++ b/.github/workflows/reusable-testing.yml @@ -513,9 +513,10 @@ jobs: unit: needs: prepare if: ${{ needs.prepare.outputs.unit != '' }} - # The calling job's name is what the run view groups by, so it carries the - # grouping key. The called workflow names the individual leg within the group. - name: Unit | PHP ${{ matrix.php }} + # Static on purpose. At this nesting depth the run view does not surface this + # name, so putting distinguishing detail here would hide it; the called + # workflow carries the full leg name instead. + name: Unit strategy: fail-fast: false matrix: ${{ fromJson(needs.prepare.outputs.unit) }} @@ -529,9 +530,10 @@ jobs: functional: needs: prepare if: ${{ needs.prepare.outputs.functional != '' }} - # Groups the Behat legs by PHP version, so the run view shows one collapsible - # entry per version instead of a single flat list of 41 jobs. - name: Behat | PHP ${{ matrix.php }} + # Static on purpose. At this nesting depth the run view does not surface this + # name, so putting distinguishing detail here would hide it; the called + # workflow carries the full leg name instead. + name: Behat strategy: fail-fast: false matrix: ${{ fromJson(needs.prepare.outputs.functional) }} diff --git a/.github/workflows/reusable-unit.yml b/.github/workflows/reusable-unit.yml index 544bc54..6bcb8f7 100644 --- a/.github/workflows/reusable-unit.yml +++ b/.github/workflows/reusable-unit.yml @@ -20,9 +20,10 @@ permissions: jobs: unit: - # The calling job already states "Unit | PHP x" and groups on it, so this only - # needs to identify the leg within that group. - name: PHPUnit${{ inputs.coverage && ' (with coverage)' || '' }}${{ startsWith( inputs.os, 'windows' ) && ' (Windows)' || '' }}${{ startsWith( inputs.os, 'macos' ) && ' (macOS)' || '' }} + # This name has to stand on its own. The run view labels a nested job with its + # own name only; the calling job's name is not surfaced at this depth, so + # anything omitted here is not shown anywhere. + name: Unit | PHP ${{ inputs.php }}${{ inputs.coverage && ' (with coverage)' || '' }}${{ startsWith( inputs.os, 'windows' ) && ' (Windows)' || '' }}${{ startsWith( inputs.os, 'macos' ) && ' (macOS)' || '' }} # Repositories can point the default Linux legs at a larger runner by setting # the `RUNNERS_NAME` repository variable, without having to fork this workflow. # Explicit macOS/Windows legs are unaffected.