From 06c883c2a8be788f70a979b0f36a1456fdc057d4 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Tue, 28 Sep 2021 22:14:02 +0300 Subject: [PATCH] Update coverage.yml --- .github/workflows/coverage.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 6b1271c..94689d4 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -11,6 +11,16 @@ jobs: name: Coverage + services: + mysql: + image: mysql:5.7 + env: + MYSQL_ROOT_PASSWORD: root + MYSQL_DATABASE: default + ports: + - 3306:3306 + options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 + steps: - name: Checkout code uses: actions/checkout@v2 @@ -18,7 +28,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 7.4 + php-version: 8.0 extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv, bcmath coverage: xdebug