From ed3d58254357c3388a7a6907c3a3926b747d60f8 Mon Sep 17 00:00:00 2001 From: hexogen Date: Mon, 21 Nov 2022 20:38:17 +0200 Subject: [PATCH] scrutinizer fixes --- .github/workflows/tests.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 32c81e6..e407b5c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,6 +16,8 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v3 + with: + fetch-depth: 10 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -40,6 +42,5 @@ jobs: - name: Execute PHPUnit run: vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover - - name: Execute Scrutinizer - run: wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover - + - name: Upload Scrutinizer coverage + uses: sudo-bot/action-scrutinizer@latest