diff options
author | Davey Shafik <davey@php.net> | 2020-10-27 08:11:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 08:11:59 +0000 |
commit | 6a43c6a89737d2d2912cafc6e0b78ff59438c5f4 (patch) | |
tree | 2b3e9a0151cfbc2bdbe0f8d78b16a2f0eb4c02d9 | |
parent | 50a236bdaff10a07d4802df8508fda5b458c4882 (diff) | |
download | php7-mysql-shim-6a43c6a89737d2d2912cafc6e0b78ff59438c5f4.zip php7-mysql-shim-6a43c6a89737d2d2912cafc6e0b78ff59438c5f4.tar.gz php7-mysql-shim-6a43c6a89737d2d2912cafc6e0b78ff59438c5f4.tar.bz2 |
Try to fix MySQL connection again…
-rw-r--r-- | .github/workflows/phpunit.yaml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/phpunit.yaml b/.github/workflows/phpunit.yaml index 54f0af8..1bb36de 100644 --- a/.github/workflows/phpunit.yaml +++ b/.github/workflows/phpunit.yaml @@ -3,14 +3,15 @@ on: [push, pull_request] env: fail-fast: true jobs: - lib: - name: php7-mysql-shim (PHP ${{ matrix.php-versions }}) + phpunit: + name: Unit Tests (PHP ${{ matrix.php-versions }}) runs-on: ubuntu-latest services: mysql: image: mysql:5.7 env: - MYSQL_ALLOW_EMPTY_PASSWORD: true + MYSQL_ALLOW_EMPTY_PASSWORD: false + MYSQL_ROOT_PASSWORD: password MYSQL_DATABASE: testing ports: - 3306/tcp @@ -48,3 +49,5 @@ jobs: run: composer run test -- --coverage-text env: MYSQL_HOST: localhost:${{ job.services.mysql.ports['3306'] }} + MYSQL_USERNAME: root + MYSQL_PASSWORD: password |