Update workflow - add log

pull/3768/head
Julio Montoya 4 years ago
parent 8f97819712
commit 132ff49c15
  1. 9
      .github/workflows/php.yml

@ -43,7 +43,7 @@ jobs:
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: ${{ matrix.php-versions }} php-version: ${{ matrix.php-versions }}
extensions: mbstring, xml, ctype, iconv, intl, pdo, pdo_mysql, dom, gd, json, soap, intl, zip, bcmath extensions: mbstring, xml, ctype, iconv, intl, pdo, pdo_mysql, dom, gd, json, soap, zip, bcmath
ini-values: post_max_size=256M, max_execution_time=600, memory_limit=4096M ini-values: post_max_size=256M, max_execution_time=600, memory_limit=4096M
- name: Get composer cache directory - name: Get composer cache directory
@ -131,7 +131,7 @@ jobs:
java -version java -version
export DISPLAY=:99.0 export DISPLAY=:99.0
sudo xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & sudo xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
java -jar selenium-server-standalone-3.141.59.jar -Dwebdriver.chrome.driver=/usr/bin/chromedriver > /dev/null & java -jar selenium-server-standalone-3.141.59.jar -log selenium.log > /dev/null &
- name: Start mysql service - name: Start mysql service
run: | run: |
@ -172,6 +172,11 @@ jobs:
- name: Composer analyse - name: Composer analyse
run: composer analyse run: composer analyse
- name: The job has failed
if: ${{ failure() }}
run: |
cat selenium.log
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit" # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md # Docs: https://getcomposer.org/doc/articles/scripts.md

Loading…
Cancel
Save