Skip to content

Commit 51635f6

Browse files
authored
Remove Scrutinizer and Coverage from release1291 (#4304)
* Remove Scrutinizer and Coverage from release1291 Don't need them for backport releases. * Add readthedocs.yaml Unsure why it's needed.
1 parent 893ea4f commit 51635f6

File tree

3 files changed

+12
-65
lines changed

3 files changed

+12
-65
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -216,41 +216,6 @@ jobs:
216216
- name: Static analysis with PHPStan
217217
run: ./vendor/bin/phpstan analyse
218218

219-
coverage:
220-
runs-on: ubuntu-latest
221-
steps:
222-
- name: Checkout
223-
uses: actions/checkout@v4
224-
with:
225-
fetch-depth: 0
226-
227-
- name: Setup PHP, with composer and extensions
228-
uses: shivammathur/setup-php@v2
229-
with:
230-
php-version: 8.3
231-
extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib
232-
coverage: pcov
233-
234-
- name: Get composer cache directory
235-
id: composer-cache
236-
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
237-
238-
- name: Cache composer dependencies
239-
uses: actions/cache@v4
240-
with:
241-
path: ${{ steps.composer-cache.outputs.dir }}
242-
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
243-
restore-keys: ${{ runner.os }}-composer-
244-
245-
- name: Install dependencies
246-
run: composer install --no-progress --prefer-dist --optimize-autoloader
247-
248-
- name: Coverage
249-
run: |
250-
./vendor/bin/phpunit --coverage-clover coverage-clover.xml
251-
composer global require scrutinizer/ocular
252-
~/.composer/vendor/bin/ocular code-coverage:upload --format=php-clover coverage-clover.xml
253-
254219
release:
255220
runs-on: ubuntu-latest
256221
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')

.readthedocs.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Read the Docs configuration file for MkDocs projects
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html
3+
4+
version: 2
5+
6+
build:
7+
os: ubuntu-22.04
8+
tools:
9+
python: "3"
10+
11+
mkdocs:
12+
configuration: mkdocs.yml

.scrutinizer.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)