1name: Test 2inputs: 3 runTestsParameters: 4 default: '' 5 required: false 6 jitType: 7 default: 'disable' 8 required: false 9runs: 10 using: composite 11 steps: 12 - shell: bash 13 run: | 14 set -x 15 export MYSQL_TEST_USER=root 16 export MYSQL_TEST_PASSWD=root 17 if [[ -z "$PDO_MYSQL_TEST_DSN" ]]; then 18 export PDO_MYSQL_TEST_DSN="mysql:host=localhost;dbname=test" 19 fi 20 export PDO_MYSQL_TEST_USER=root 21 export PDO_MYSQL_TEST_PASS=root 22 export PDO_DBLIB_TEST_DSN="dblib:host=127.0.0.1;dbname=master;version=7.0" 23 export PDO_DBLIB_TEST_USER="pdo_test" 24 export PDO_DBLIB_TEST_PASS="password" 25 export PHP_OCI8_TEST_USER="system" 26 export PHP_OCI8_TEST_PASS="pass" 27 export PHP_OCI8_TEST_DB="localhost/XEPDB1" 28 export PDO_OCI_TEST_USER="system" 29 export PDO_OCI_TEST_PASS="pass" 30 export PDO_OCI_TEST_DSN="oci:dbname=localhost/XEPDB1;charset=AL32UTF8" 31 export PGSQL_TEST_CONNSTR="host=localhost dbname=test port=5432 user=postgres password=postgres" 32 if [[ -z "$PDO_PGSQL_TEST_DSN" ]]; then 33 export PDO_PGSQL_TEST_DSN="pgsql:host=localhost port=5432 dbname=test user=postgres password=postgres" 34 fi 35 export SKIP_IO_CAPTURE_TESTS=1 36 sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \ 37 -d opcache.jit=${{ inputs.jitType }} \ 38 -d opcache.jit_buffer_size=16M \ 39 -j$(/usr/bin/nproc) \ 40 -g FAIL,XFAIL,BORK,WARN,LEAK,XLEAK,SKIP \ 41 --offline \ 42 --show-diff \ 43 --show-slow 1000 \ 44 --set-timeout 120 45