1- name : run-tests
1+ name : Run Standard Tests
22
33on :
44 push :
@@ -22,10 +22,18 @@ jobs:
2222
2323 name : PHP-${{ matrix.php }} - Laravel-10
2424 env :
25- extensionKey : phpextensions-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}
25+ extensionKey : phpextensions-${{ matrix.os }}-P${{ matrix.php }}
2626 extensions : dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr
2727
2828 steps :
29+ - name : Wait for styling to finish
30+ 31+ with :
32+ ref : ${{ github.ref }}
33+ running-workflow-name : ' Fix PHP code style issues'
34+ repo-token : ${{ secrets.GITHUB_TOKEN }}
35+ wait-interval : 20
36+
2937 - name : Checkout code
3038 uses : actions/checkout@v4
3139
4149 uses : actions/cache@v4
4250 with :
4351 path : ${{ steps.extcache.outputs.dir }}
44- key : ${{ runner .os }}-${{ steps.extcache.outputs.key }}
45- restore-keys : ${{ runner .os }}-${{ steps.extcache.outputs.key }}
52+ key : ${{ matrix .os }}-${{ steps.extcache.outputs.key }}
53+ restore-keys : ${{ matrix .os }}-${{ steps.extcache.outputs.key }}
4654
4755 - name : Setup PHP
4856 uses : shivammathur/setup-php@v2
6674 - uses : actions/cache@v4
6775 with :
6876 path : ${{ steps.composer-cache.outputs.dir }}
69- key : ${{ runner .os }}-STDPUSH -PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
70- restore-keys : ${{ runner .os }}-STDPUSH -PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-
77+ key : ${{ matrix .os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
78+ restore-keys : ${{ matrix .os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-
7179
7280 - name : Add token
7381 run : |
@@ -101,10 +109,18 @@ jobs:
101109
102110 name : PHP-${{ matrix.php }} - Laravel-11
103111 env :
104- extensionKey : phpextensions-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}
112+ extensionKey : phpextensions-${{ matrix.os }}-P${{ matrix.php }}
105113 extensions : dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr
106114
107115 steps :
116+ - name : Wait for styling to finish
117+ 118+ with :
119+ ref : ${{ github.ref }}
120+ running-workflow-name : ' Fix PHP code style issues'
121+ repo-token : ${{ secrets.GITHUB_TOKEN }}
122+ wait-interval : 20
123+
108124 - name : Checkout code
109125 uses : actions/checkout@v4
110126
@@ -120,8 +136,8 @@ jobs:
120136 uses : actions/cache@v4
121137 with :
122138 path : ${{ steps.extcache.outputs.dir }}
123- key : ${{ runner .os }}-${{ steps.extcache.outputs.key }}
124- restore-keys : ${{ runner .os }}-${{ steps.extcache.outputs.key }}
139+ key : ${{ matrix .os }}-${{ steps.extcache.outputs.key }}
140+ restore-keys : ${{ matrix .os }}-${{ steps.extcache.outputs.key }}
125141
126142 - name : Setup PHP
127143 uses : shivammathur/setup-php@v2
@@ -145,8 +161,8 @@ jobs:
145161 - uses : actions/cache@v4
146162 with :
147163 path : ${{ steps.composer-cache.outputs.dir }}
148- key : ${{ runner .os }}-STDPUSH -PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
149- restore-keys : ${{ runner .os }}-STDPUSH -PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-
164+ key : ${{ matrix .os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
165+ restore-keys : ${{ matrix .os }}-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-
150166
151167 - name : Add token
152168 run : |
@@ -164,4 +180,4 @@ jobs:
164180 run : echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
165181
166182 - name : Run Unit Tests
167- run : php ./vendor/bin/paratest --no-coverage
183+ run : php ./vendor/bin/phpunit --no-coverage
0 commit comments