Skip to content

Commit 5ee30bd

Browse files
committed
ci: temporary serve probe (debug)
1 parent 4d1bb81 commit 5ee30bd

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,16 @@ jobs:
7777
- name: Run Tests
7878
run: vendor/bin/phpunit --coverage-clover coverage.xml
7979

80+
- name: DEBUG serve probe
81+
if: github.event_name == 'pull_request'
82+
run: |
83+
php artisan serve > serve.log 2>&1 &
84+
sleep 5
85+
curl -sS -i http://localhost:8000/ | head -30 || true
86+
echo "--- serve.log"; cat serve.log
87+
echo "--- laravel.log"; tail -n 40 storage/logs/laravel.log || true
88+
kill %1
89+
8090
- name: SEO check (local build)
8191
if: github.event_name == 'pull_request'
8292
uses: ikidnapmyself/seo-checkup@v1

0 commit comments

Comments
 (0)