From 070d162cb6b7bf2f9b754544a09c896bcd2686af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Helfensd=C3=B6rfer?= Date: Wed, 14 Jun 2023 11:19:03 +0200 Subject: [PATCH] ci: disable coverage for ci --- .github/workflows/tests.yml | 4 ++-- composer.json | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 20abc81..6fd0428 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,6 @@ jobs: php-versions: ['8.0', '8.1', '8.2'] name: PHPUnit ${{ matrix.php-versions }} - steps: - uses: actions/checkout@v2 @@ -29,7 +28,8 @@ jobs: path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} restore-keys: | - ${{ runner.os }}-php- + ${{ runner.os }}-php-${{ matrix.php-versions }} + - name: Install dependencies if: steps.composer-cache.outputs.cache-hit != 'true' run: composer install --prefer-dist --no-progress --no-suggest diff --git a/composer.json b/composer.json index 48e9faf..e9dfe8a 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,9 @@ "phpunit/phpunit": "^10.1" }, "scripts": { - "test": "phpunit" + "test": [ + "phpunit --no-coverage" + ] }, "autoload": { "psr-4": {