summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavey Shafik <davey@php.net>2020-10-27 20:44:29 +0000
committerGitHub <noreply@github.com>2020-10-27 20:44:29 +0000
commit2303948984a77be035731504c10ec0ea6ec9bc9f (patch)
tree913651b7189933fd26d922c2c504f1ea1b7a2164
parentea2f7f4847d6a3deade020dc55a100899184cc99 (diff)
downloadphp7-mysql-shim-2303948984a77be035731504c10ec0ea6ec9bc9f.zip
php7-mysql-shim-2303948984a77be035731504c10ec0ea6ec9bc9f.tar.gz
php7-mysql-shim-2303948984a77be035731504c10ec0ea6ec9bc9f.tar.bz2
Use matrix.php-versions
-rw-r--r--.github/workflows/phpunit.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/phpunit.yaml b/.github/workflows/phpunit.yaml
index ba7dac6..cde3d08 100644
--- a/.github/workflows/phpunit.yaml
+++ b/.github/workflows/phpunit.yaml
@@ -42,7 +42,7 @@ jobs:
MYSQL_PASSWORD: password
- name: Get Code Coverage
run: php tests/coverage.php
- if: matrix.php == '7.4'
+ if: matrix.php-versions == '7.4'
- name: Upload Code Coverage
uses: schneegans/dynamic-badges-action@v1.0.0
with:
@@ -52,12 +52,12 @@ jobs:
label: Code Coverage
message: ${{ env.COVERAGE }}
color: green
- if: matrix.php == '7.4'
+ if: matrix.php-versions == '7.4'
continue-on-error: true # if is fork
- name: Scrutinizer Code Coverage
run: |
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover build/coverage/coverage.clover
- if: matrix.php == '7.4'
+ if: matrix.php-versions == '7.4'
continue-on-error: true # if is fork