Skip to content

Commit

Permalink
Removed not used lines and duplicated tests run
Browse files Browse the repository at this point in the history
  • Loading branch information
Bizley authored Apr 7, 2021
1 parent 054e259 commit 5ee3877
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/ci-oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5ee3877

Please sign in to comment.