mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-08 12:20:52 +00:00
[Coverage] Delete weekly coverage generation (#5631)
* [Coverage] Delete weekly coverage generation * remove coverage badge
This commit is contained in:
parent
3cb9fc28b3
commit
9f4353c2af
52
.github/workflows/weekly_code_coverage.yaml
vendored
52
.github/workflows/weekly_code_coverage.yaml
vendored
|
@ -1,52 +0,0 @@
|
|||
name: Weekly Code Coverage
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# https://crontab.guru/once-a-week
|
||||
- cron: "0 0 * * 0"
|
||||
|
||||
jobs:
|
||||
weekly_code_coverage:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
actions:
|
||||
-
|
||||
name: "Re-Generate Code Coverage"
|
||||
run: |
|
||||
composer require --dev nimut/phpunit-merger
|
||||
|
||||
vendor/bin/phpunit --coverage-php build/logs/rules.cov rules --testdox
|
||||
vendor/bin/phpunit --coverage-php build/logs/packages.cov packages --testdox
|
||||
vendor/bin/phpunit --coverage-php build/logs/tests.cov tests --testdox
|
||||
vendor/bin/phpunit --coverage-php build/logs/utils.cov utils --testdox
|
||||
|
||||
vendor/bin/phpunit-merger coverage build/logs clover.xml
|
||||
|
||||
# Coveralls.io
|
||||
composer require --dev php-coveralls/php-coveralls:^2.4
|
||||
vendor/bin/php-coveralls --coverage_clover=clover.xml -v
|
||||
branch: 'master'
|
||||
|
||||
name: ${{ matrix.actions.name }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
-
|
||||
uses: actions/checkout@v2
|
||||
|
||||
# see https://github.com/shivammathur/setup-php
|
||||
-
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: 7.4
|
||||
coverage: xdebug
|
||||
|
||||
|
||||
-
|
||||
run: composer install --no-progress --ansi
|
||||
|
||||
-
|
||||
run: ${{ matrix.actions.run }}
|
||||
env:
|
||||
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@ -1,6 +1,5 @@
|
|||
# Rector - Speedup Your PHP Development
|
||||
|
||||
[![Coverage Status](https://img.shields.io/coveralls/rectorphp/rector/master.svg?style=flat-square)](https://coveralls.io/github/rectorphp/rector?branch=master)
|
||||
[![Downloads](https://img.shields.io/packagist/dt/rector/rector.svg?style=flat-square)](https://packagist.org/packages/rector/rector)
|
||||
|
||||
<br>
|
||||
|
|
Loading…
Reference in New Issue
Block a user