Skip to content

Commit 8c36281

Browse files
committed
refactor: standardize job names and enhance testing workflow structure in test.yml
1 parent b72d2bc commit 8c36281

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

.github/workflows/test.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
jobs:
1414
# Syntax and Static Analysis
1515
syntax-check:
16-
name: Syntax & Static Analysis
16+
name: "Syntax & Static Analysis"
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout Repository
@@ -33,9 +33,9 @@ jobs:
3333
severity: warning
3434
continue-on-error: true
3535

36-
# Comprehensive Testing
37-
test:
38-
name: Test on ${{ matrix.os }}
36+
# Core Functionality Testing
37+
core-functionality-test:
38+
name: "Core Functionality (${{ matrix.os }})"
3939
runs-on: ${{ matrix.os }}
4040
needs: syntax-check
4141
strategy:
@@ -144,7 +144,7 @@ jobs:
144144
145145
# PHP Installation and Usage Testing
146146
php-usage-test:
147-
name: PHP Usage Test
147+
name: "PHP Installation & Usage (${{ matrix.os }})"
148148
runs-on: ${{ matrix.os }}
149149
needs: syntax-check
150150
strategy:
@@ -198,9 +198,9 @@ jobs:
198198
../phpvm.sh auto || echo "Auto-switch attempted"
199199
cd ..
200200
201-
# Extended Testing including Distribution Matrix
202-
extended-test:
203-
name: Extended Test (${{ matrix.scenario }})
201+
# Multi-Distribution Compatibility Testing
202+
multi-distribution-test:
203+
name: "Multi-Distribution Test (${{ matrix.scenario }})"
204204
runs-on: ubuntu-latest
205205
needs: syntax-check
206206
strategy:
@@ -288,7 +288,8 @@ jobs:
288288
case '${{ matrix.package_manager }}' in
289289
apt)
290290
apt-get update -y
291-
apt-get install -y curl wget sudo procps grep sed awk coreutils
291+
# Install essential packages (gawk provides awk functionality)
292+
apt-get install -y curl wget sudo procps grep sed gawk coreutils
292293
;;
293294
dnf)
294295
dnf update -y
@@ -361,7 +362,7 @@ jobs:
361362
362363
# Performance and Load Testing
363364
performance-test:
364-
name: Performance Test
365+
name: "Performance & Load Testing"
365366
runs-on: ubuntu-latest
366367
needs: syntax-check
367368
steps:
@@ -389,9 +390,9 @@ jobs:
389390
390391
echo "✅ Performance tests completed"
391392
392-
# Integration Testing
393+
# End-to-End Integration Testing
393394
integration-test:
394-
name: Integration Testing
395+
name: "End-to-End Integration (${{ matrix.os }})"
395396
runs-on: ${{ matrix.os }}
396397
needs: syntax-check
397398
strategy:

0 commit comments

Comments
 (0)