From 7789efffe03cc31af6ae7e586e701db9d5b5e71c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 1 Feb 2021 09:14:10 +0100 Subject: [PATCH] Enhancement: Synchronize with ergebnis/php-library-template --- .github/workflows/integrate.yaml | 20 ++++++++++---------- .github/workflows/renew.yaml | 2 +- psalm-baseline.xml | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 9f8a855a..37b11a7a 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -38,7 +38,7 @@ jobs: file_or_dir: "." strict: true - - name: "Install PHP with extensions" + - name: "Set up PHP" uses: "shivammathur/setup-php@2.9.0" with: coverage: "none" @@ -99,7 +99,7 @@ jobs: - name: "Checkout" uses: "actions/checkout@v2.3.4" - - name: "Install PHP with extensions" + - name: "Set up PHP" uses: "shivammathur/setup-php@2.9.0" with: coverage: "none" @@ -144,7 +144,7 @@ jobs: - name: "Checkout" uses: "actions/checkout@v2.3.4" - - name: "Install PHP with extensions" + - name: "Set up PHP" uses: "shivammathur/setup-php@2.9.0" with: coverage: "none" @@ -217,7 +217,7 @@ jobs: - name: "Checkout" uses: "actions/checkout@v2.3.4" - - name: "Install PHP with extensions" + - name: "Set up PHP" uses: "shivammathur/setup-php@2.9.0" with: coverage: "none" @@ -271,10 +271,10 @@ jobs: - name: "Checkout" uses: "actions/checkout@v2.3.4" - - name: "Install PHP with extensions" + - name: "Set up PHP" uses: "shivammathur/setup-php@2.9.0" with: - coverage: "pcov" + coverage: "xdebug" extensions: "${{ env.PHP_EXTENSIONS }}" php-version: "${{ matrix.php-version }}" @@ -299,7 +299,7 @@ jobs: with: dependencies: "${{ matrix.dependencies }}" - - name: "Collect code coverage with pcov and phpunit/phpunit" + - name: "Collect code coverage with Xdebug and phpunit/phpunit" run: "vendor/bin/phpunit --configuration=test/Unit/phpunit.xml --coverage-clover=.build/phpunit/logs/clover.xml" - name: "Send code coverage report to Codecov.io" @@ -324,10 +324,10 @@ jobs: - name: "Checkout" uses: "actions/checkout@v2.3.4" - - name: "Install PHP with extensions" + - name: "Set up PHP" uses: "shivammathur/setup-php@2.9.0" with: - coverage: "pcov" + coverage: "xdebug" extensions: "${{ env.PHP_EXTENSIONS }}" php-version: "${{ matrix.php-version }}" @@ -349,7 +349,7 @@ jobs: with: dependencies: "${{ matrix.dependencies }}" - - name: "Run mutation tests with pcov and infection/infection" + - name: "Run mutation tests with Xdebug and infection/infection" run: "vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=${{ env.MIN_COVERED_MSI }} --min-msi=${{ env.MIN_MSI }}" merge: diff --git a/.github/workflows/renew.yaml b/.github/workflows/renew.yaml index 6ae62f2c..86cc8b45 100644 --- a/.github/workflows/renew.yaml +++ b/.github/workflows/renew.yaml @@ -29,7 +29,7 @@ jobs: with: token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" - - name: "Install PHP with extensions" + - name: "Set up PHP" uses: "shivammathur/setup-php@2.9.0" with: coverage: "none" diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 2c477128..91590939 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + $fileInfo