apg-go/codecov.yml
Winni Neessen 83c67b33be
Add codecov configuration file and simplify coverage profile generation
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.
2024-03-14 10:35:43 +01:00

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"