Skip to content

Commit a86ed72

Browse files
Run tests in random order (while respecting explicit dependencies between tests)
1 parent 773a674 commit a86ed72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
run: php ./tools/composer install --no-ansi --no-interaction --no-progress
137137

138138
- name: Run tests with PHPUnit
139-
run: php ./phpunit --testsuite unit
139+
run: php ./phpunit --testsuite unit --order-by depends,random
140140

141141
end-to-end-tests:
142142
name: End-to-End Tests
@@ -184,7 +184,7 @@ jobs:
184184
run: php ./tools/composer install --no-ansi --no-interaction --no-progress
185185

186186
- name: Run tests with PHPUnit
187-
run: php ./phpunit --testsuite end-to-end
187+
run: php ./phpunit --testsuite end-to-end --order-by depends,random
188188

189189
code-coverage:
190190
name: Code Coverage

0 commit comments

Comments
 (0)