Skip to content

Commit dc16d5b

Browse files
committed
feat: enable parallel testing in CI workflow and script
1 parent ca6caf9 commit dc16d5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
run: ./vendor/bin/phpstan analyse
8585

8686
- name: Run tests
87-
run: ./vendor/bin/pest --configuration ./phpunit.xml --coverage-clover runtime/.phpunit.cache/coverage.xml
87+
run: ./vendor/bin/pest --parallel --configuration ./phpunit.xml --coverage-clover runtime/.phpunit.cache/coverage.xml
8888

8989
- name: Upload coverage reports to Codecov
9090
uses: codecov/codecov-action@v5

dev/ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
set -e
33

4-
php artisan test
4+
php artisan test --parallel
55
/home/wwwroot/bamboocms-php/vendor/bin/pint
66
/home/wwwroot/bamboocms-php/vendor/bin/phpstan analyse

0 commit comments

Comments
 (0)