name: Test libmysqlclient
runs:
  using: composite
  steps:
    - shell: bash
      run: |
        set -x
        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
        export RUN_RESOURCE_HEAVY_TESTS=1
        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
