From a67d0dd591db775f327cc5b255e2478ec88d2957 Mon Sep 17 00:00:00 2001 From: arnold Date: Tue, 3 Sep 2024 22:46:35 +0200 Subject: [PATCH] Upload coverage to scrutinizer --- .github/workflows/php.yml | 6 +++--- .scrutinizer.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index e799b18..960c9fe 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -17,14 +17,14 @@ jobs: composer: '--prefer-lowest' desc: "Lowest versions" - php: 8.2 - coverage: '--coverage-clover /tmp/clover.xml' + coverage: '--coverage-clover ./clover.xml' - php: 8.3 name: PHP ${{ matrix.php }} ${{ matrix.desc }} steps: - uses: actions/checkout@v4 with: - fetch-depth: 2 + fetch-depth: 10 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -45,4 +45,4 @@ jobs: uses: sudo-bot/action-scrutinizer@latest if: ${{ matrix.coverage }} with: - cli-args: "--format=php-clover build/logs/clover.xml --revision=${{ github.event.pull_request.head.sha || github.sha }}" + cli-args: "--format=php-clover ./clover.xml" diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 1999fdc..ced4896 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -8,7 +8,7 @@ build: nodes: analysis: environment: - php: 8.2 + php: 8.2.23 postgresql: false redis: false mongodb: false