From 5ee38777bcf40e9a62190edc52771de730fc6299 Mon Sep 17 00:00:00 2001 From: Bizley Date: Wed, 7 Apr 2021 18:15:53 +0200 Subject: [PATCH] Removed not used lines and duplicated tests run --- .github/workflows/ci-oracle.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci-oracle.yml b/.github/workflows/ci-oracle.yml index df7bb3fe078..0a3b1ba0657 100644 --- a/.github/workflows/ci-oracle.yml +++ b/.github/workflows/ci-oracle.yml @@ -68,24 +68,14 @@ jobs: restore-keys: | php${{ matrix.php }}-composer- - - name: Install dependencies with composer php 7.4 - if: matrix.php == '7.4' + - name: Install dependencies with composer run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi - - name: Install dependencies with composer php 8.0 - if: matrix.php == '8.0' - run: composer update --ignore-platform-reqs --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi - - - name: PHP Unit tests for PHP 7.4 + - name: PHP Unit tests run: vendor/bin/phpunit --coverage-clover=coverage.clover --group oci --colors=always - if: matrix.php == '7.4' - - - name: Run tests with phpunit without coverage - run: vendor/bin/phpunit --group oci --colors=always - name: Code coverage run: | wget https://scrutinizer-ci.com/ocular.phar php ocular.phar code-coverage:upload --format=php-clover coverage.clover - if: matrix.php == '7.4' continue-on-error: true # if is fork