Download src/php/php-src/.github/actions/test-libmysqlclient/action.yml from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 693 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/.github/actions/test-libmysqlclient/action.yml
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/.github/actions/test-libmysqlclient/action.yml
-
curl -L -o action.yml https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/.github/actions/test-libmysqlclient/action.yml
693 Bytes
| name: Test libmysqlclient | |
| inputs: | |
| withMysqli: | |
| required: true | |
| runs: | |
| using: composite | |
| steps: | |
| - shell: bash | |
| run: | | |
| set -x | |
| ${{ inputs.withMysqli == 'true' && 'export MYSQL_TEST_USER=root' || '' }} | |
| ${{ inputs.withMysqli == 'true' && 'export MYSQL_TEST_PASSWD=root' || '' }} | |
| export PDO_MYSQL_TEST_DSN="mysql:host=127.0.0.1;dbname=test" | |
| export PDO_MYSQL_TEST_HOST=127.0.0.1 | |
| export PDO_MYSQL_TEST_USER=root | |
| export PDO_MYSQL_TEST_PASS=root | |
| sapi/cli/php run-tests.php -P -q \ | |
| -g FAIL,BORK,LEAK,XLEAK \ | |
| --no-progress --offline --show-diff --show-slow 1000 --set-timeout 120 \ | |
| ext/pdo_mysql | |