Skip to content

Commit

Permalink
update codecov.yml (#1158)
Browse files Browse the repository at this point in the history
* update codecov.yml
* fix readme
  • Loading branch information
ildyria authored Dec 3, 2021
1 parent fd35b72 commit 5b51765
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 58 deletions.
90 changes: 37 additions & 53 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 3 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<p align="center"><a href="https://lycheeorg.github.io"><img src="https://raw.githubusercontent.com/LycheeOrg/Lychee/master/Banner.png" width="400px" alt="@LycheeOrg"></a></p>

[![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)
<br>
[![Build Status][build-status-shield]](https://github.com/LycheeOrg/Lychee/actions)
Expand Down Expand Up @@ -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). &#187;](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
Expand Down

0 comments on commit 5b51765

Please sign in to comment.