From 57960644c1f04dc57c6b4fa649420153d3c18a04 Mon Sep 17 00:00:00 2001 From: Khalil Bouzidi Date: Sun, 7 Apr 2024 14:28:14 +0100 Subject: [PATCH] enforce test coverage >=95 --- .github/workflows/run-tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 0c51947..014a13a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -31,8 +31,9 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} + tools: composer:v2 extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo - coverage: none + coverage: xdebug - name: Setup problem matchers run: | @@ -51,4 +52,4 @@ jobs: run: vendor/bin/pest --type-coverage --min=98 - name: Execute tests - run: vendor/bin/pest + run: vendor/bin/pest --coverage --min=95