@@ -146,41 +146,41 @@ jobs:
146146 - name : Execute tests (parallel)
147147 id : parallel-tests
148148 continue-on-error : true
149- run : ./vendor/bin/pest --configuration=phpunit.${{ matrix.db }}.xml --parallel --exclude-group=commands
149+ run : ./vendor/bin/pest --configuration=phpunit.${{ matrix.db }}.xml --parallel --exclude-group=serial
150150 env :
151151 DB_PASSWORD : password
152152 - name : Retry tests (parallel, attempt 2)
153153 if : steps.parallel-tests.outcome == 'failure'
154154 id : parallel-retry-2
155155 continue-on-error : true
156- run : ./vendor/bin/pest --configuration=phpunit.${{ matrix.db }}.xml --parallel --bail --exclude-group=commands
156+ run : ./vendor/bin/pest --configuration=phpunit.${{ matrix.db }}.xml --parallel --bail --exclude-group=serial
157157 env :
158158 DB_PASSWORD : password
159159 - name : Retry tests (parallel, attempt 3)
160160 if : steps.parallel-retry-2.outcome == 'failure'
161161 id : parallel-retry-3
162162 continue-on-error : true
163- run : ./vendor/bin/pest --configuration=phpunit.${{ matrix.db }}.xml --parallel --bail --exclude-group=commands
163+ run : ./vendor/bin/pest --configuration=phpunit.${{ matrix.db }}.xml --parallel --bail --exclude-group=serial
164164 env :
165165 DB_PASSWORD : password
166166 - name : Retry tests (parallel, attempt 4)
167167 if : steps.parallel-retry-3.outcome == 'failure'
168168 id : parallel-retry-4
169169 continue-on-error : true
170- run : ./vendor/bin/pest --configuration=phpunit.${{ matrix.db }}.xml --parallel --bail --exclude-group=commands
170+ run : ./vendor/bin/pest --configuration=phpunit.${{ matrix.db }}.xml --parallel --bail --exclude-group=serial
171171 env :
172172 DB_PASSWORD : password
173173 - name : Retry tests (parallel, attempt 5)
174174 if : steps.parallel-retry-4.outcome == 'failure'
175175 id : parallel-retry-5
176- run : ./vendor/bin/pest --configuration=phpunit.${{ matrix.db }}.xml --parallel --bail --exclude-group=commands
176+ run : ./vendor/bin/pest --configuration=phpunit.${{ matrix.db }}.xml --parallel --bail --exclude-group=serial
177177 env :
178178 DB_PASSWORD : password
179179 - name : Warn about flaky tests
180180 if : steps.parallel-tests.outcome == 'failure' && (steps.parallel-retry-2.outcome == 'success' || steps.parallel-retry-3.outcome == 'success' || steps.parallel-retry-4.outcome == 'success' || steps.parallel-retry-5.outcome == 'success')
181181 run : |
182182 echo "::warning::Parallel tests failed but a retry passed. This may indicate a race condition or test isolation issue."
183- - name : Execute command tests (serial)
184- run : ./vendor/bin/pest --configuration=phpunit.${{ matrix.db }}.xml --group=commands
183+ - name : Execute serial tests
184+ run : ./vendor/bin/pest --configuration=phpunit.${{ matrix.db }}.xml --group=serial
185185 env :
186186 DB_PASSWORD : password
0 commit comments