summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavey Shafik <davey@php.net>2020-10-27 08:04:15 +0000
committerGitHub <noreply@github.com>2020-10-27 08:04:15 +0000
commit50a236bdaff10a07d4802df8508fda5b458c4882 (patch)
tree6bde2eb639d6cdb9c75680e83d977cf2f88344a7
parentae111d0c4a8dfe30bb7233cfa53e4c2c1c03f936 (diff)
downloadphp7-mysql-shim-50a236bdaff10a07d4802df8508fda5b458c4882.zip
php7-mysql-shim-50a236bdaff10a07d4802df8508fda5b458c4882.tar.gz
php7-mysql-shim-50a236bdaff10a07d4802df8508fda5b458c4882.tar.bz2
Try to fix MySQL connection
-rw-r--r--.github/workflows/phpunit.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/phpunit.yaml b/.github/workflows/phpunit.yaml
index 7f3c867..54f0af8 100644
--- a/.github/workflows/phpunit.yaml
+++ b/.github/workflows/phpunit.yaml
@@ -1,5 +1,7 @@
name: Testing php7-mysql-shim
on: [push, pull_request]
+env:
+ fail-fast: true
jobs:
lib:
name: php7-mysql-shim (PHP ${{ matrix.php-versions }})
@@ -16,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- php-versions: ['5.3', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
+ php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
steps:
- name: Checkout
uses: actions/checkout@v2
@@ -44,3 +46,5 @@ jobs:
composer update --no-interaction --prefer-source
- name: Run Tests
run: composer run test -- --coverage-text
+ env:
+ MYSQL_HOST: localhost:${{ job.services.mysql.ports['3306'] }}