CI php webserver logs
This commit is contained in:
parent
4a7c3951a1
commit
c6e6232c7d
|
@ -34,7 +34,7 @@ jobs:
|
|||
|
||||
- name: Start webserver
|
||||
run: |
|
||||
nohup php -S 0.0.0.0:8080 &
|
||||
nohup php -S 0.0.0.0:8080 2>&1 | tee php.log &
|
||||
sleep 5 && curl 127.0.0.1:8080/.htaccess # request a simple static file
|
||||
|
||||
- name: Setup NodeJS
|
||||
|
@ -92,6 +92,11 @@ jobs:
|
|||
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: php_log_${{ github.run_id }}
|
||||
path: php.log
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: failure()
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue