更新 .gitea/workflows/test.yml
Some checks failed
Run Unit Tests / test (push) Failing after 1m13s

This commit is contained in:
james 2025-06-03 18:18:05 +08:00
parent fa7390aedb
commit d79431ba86

View File

@ -22,6 +22,11 @@ jobs:
composer global show phpunit/phpunit
composer install --no-interaction --prefer-dist
- name: Delay for 20 seconds before running tests
run: |
echo "⏳ Waiting for 60 seconds before running PHPUnit tests..."
sleep 60
- name: Run PHPUnit tests
run: |
XDEBUG_MODE=coverage vendor/bin/phpunit --configuration phpunit.xml --verbose