Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/reusable-functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/reusable-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}
Expand All @@ -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) }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/reusable-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading