mirror of
https://github.com/wneessen/apg-go.git
synced 2024-09-12 00:12:47 +02:00
A codecov.yml configuration file has been added to specify the coverage target and other codecov settings. The CI pipeline has also been streamlined to directly generate the coverage profile without using grep for filtering ignored code paths. This makes it easier to understand and maintain the testing and coverage reporting process.
26 lines
449 B
YAML
26 lines
449 B
YAML
# SPDX-FileCopyrightText: 2022-2023 The go-mail Authors
|
|
#
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
coverage:
|
|
status:
|
|
project:
|
|
default:
|
|
target: 85%
|
|
threshold: 5%
|
|
base: auto
|
|
if_ci_failed: error
|
|
only_pulls: false
|
|
patch:
|
|
default:
|
|
target: 80%
|
|
base: auto
|
|
if_ci_failed: error
|
|
threshold: 5%
|
|
|
|
comment:
|
|
require_changes: true
|
|
|
|
ignore:
|
|
- "cmd/apg"
|
|
- "example-code"
|