Skip to content

Commit

Permalink
Remove Scrutinizer and Coverage from release222 (PHPOffice#4305)
Browse files Browse the repository at this point in the history
Don't need them for backported branches.
  • Loading branch information
oleibman authored Jan 7, 2025
1 parent 4521877 commit cc41c3b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 65 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,41 +210,6 @@ jobs:
- name: Static analysis with PHPStan
run: ./vendor/bin/phpstan analyse

coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib
coverage: pcov

- name: Get composer cache directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache composer dependencies
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-

- name: Install dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader

- name: Coverage
run: |
./vendor/bin/phpunit --coverage-clover coverage-clover.xml
composer global require scrutinizer/ocular
~/.composer/vendor/bin/ocular code-coverage:upload --format=php-clover coverage-clover.xml
release:
permissions:
contents: write # to create a release (actions/create-release)
Expand Down
30 changes: 0 additions & 30 deletions .scrutinizer.yml

This file was deleted.

0 comments on commit cc41c3b

Please sign in to comment.