From 5b51765c7c66e6542ff2a6dcd3fb57393ff16717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Viguier?= Date: Fri, 3 Dec 2021 21:16:26 +0100 Subject: [PATCH] update codecov.yml (#1158) * update codecov.yml * fix readme --- codecov.yml | 90 ++++++++++++++++++++++------------------------------- readme.md | 8 ++--- 2 files changed, 40 insertions(+), 58 deletions(-) diff --git a/codecov.yml b/codecov.yml index 5b98383158d..db202bf69e1 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,53 +1,37 @@ -{ - "codecov": { - "require_ci_to_pass": true - }, - "comment": { - "behavior": "default", - "require_base": false, - "require_changes": true, - "require_head": true - - }, - "github_checks": { - "annotations": false - }, - "coverage": { - "precision": 2, - "round": "down", - "status": { - "changes": false, - "patch": { - "default": {} - }, - "project": { - "default": { - "target": 50% - } - } - } - }, - "ignore": [ - "^app/Console/.*", - "^app/Exceptions/.*", - "^app/Http/ControllersFunctions/Diagnostics/.*", - "^app/Http/Controllers/Auth/.*", - "^app/Http/Middleware/LoginCheck.*", - "^app/Http/Middleware/VerifyCsrfToken.*", - "^app/Http/Middleware/RedirectIfAuthenticated.*", - "^app/Providers/BroadcastServiceProvider.*" - ], - "parsers": { - "gcov": { - "branch_detection": { - "conditional": true, - "loop": true, - "macro": false, - "method": false - } - }, - "javascript": { - "enable_partials": false - } - } -} +--- +codecov: + require_ci_to_pass: true +comment: + behavior: default + require_base: false + require_changes: true + require_head: true +github_checks: + annotations: false +coverage: + precision: 2 + round: down + status: + changes: false + patch: off + project: + default: + target: 50% +ignore: +- "^app/Console/.*" +- "^app/Exceptions/.*" +- "^app/Http/ControllersFunctions/Diagnostics/.*" +- "^app/Http/Controllers/Auth/.*" +- "^app/Http/Middleware/LoginCheck.*" +- "^app/Http/Middleware/VerifyCsrfToken.*" +- "^app/Http/Middleware/RedirectIfAuthenticated.*" +- "^app/Providers/BroadcastServiceProvider.*" +parsers: + gcov: + branch_detection: + conditional: true + loop: true + macro: false + method: false + javascript: + enable_partials: false diff --git a/readme.md b/readme.md index b64152498f4..8179fb1bb01 100644 --- a/readme.md +++ b/readme.md @@ -1,8 +1,7 @@

@LycheeOrg

[![GitHub Release][release-shield]](https://github.com/LycheeOrg/Lychee/releases) -[![PHP 8.0][php-8.0-shield]](https://lycheeorg.github.io/docs/#server-requirements) -[![PHP 8.1][php-8.1-shield]](https://lycheeorg.github.io/docs/#server-requirements) +[![PHP 8.0 & 8.1][php-shield]](https://lycheeorg.github.io/docs/#server-requirements) [![MIT License][license-shield]](https://github.com/LycheeOrg/Lychee/blob/master/LICENSE)
[![Build Status][build-status-shield]](https://github.com/LycheeOrg/Lychee/actions) @@ -87,11 +86,10 @@ In order to use the new photos email notification you will need to have configur Take a look at the [Documentation](https://lycheeorg.github.io/docs/), particularly the [FAQ](https://lycheeorg.github.io/docs/faq.html) if you have problems. Discovered a bug? Please create an issue [here](https://github.com/LycheeOrg/Lychee/issues) on GitHub! You can also contact us directly on [gitter (login with your github account). »](https://gitter.im/LycheeOrg/Lobby) [1]: https://lycheeorg.github.io/docs/settings.html -[build-status-shield]: https://img.shields.io/github/workflow/status/LycheeOrg/Lychee/Build-Full-SQL +[build-status-shield]: https://img.shields.io/github/workflow/status/LycheeOrg/Lychee/Build [codecov-shield]: https://codecov.io/gh/LycheeOrg/Lychee/branch/master/graph/badge.svg [release-shield]: https://img.shields.io/github/release-pre/LycheeOrg/Lychee.svg -[php-8.0-shield]: https://img.shields.io/badge/PHP-8.0-blue -[php-8.1-shield]: https://img.shields.io/badge/PHP-8.1-blue +[php-shield]: https://img.shields.io/badge/PHP-8.0%20|%208.1-blue [license-shield]: https://img.shields.io/github/license/LycheeOrg/Lychee.svg [cii-shield]: https://img.shields.io/cii/summary/2855.svg [sonar-shield]: https://sonarcloud.io/api/project_badges/measure?project=LycheeOrg_Lychee-Laravel&metric=alert_status