-
Notifications
You must be signed in to change notification settings - Fork 54
/
codecov.yml
23 lines (23 loc) · 1.11 KB
/
codecov.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ignore:
- "api/v1alpha1/zz_generated.deepcopy.go" # generated file, does not need to be included in the coverage
- "pkg/spi/spi_mock.go" # mock file for SPI testing
- "gitops/generate_mock.go" # mock file for testing
- "controllers/start_test_env.go" # setup of a test environment for unit and Pact tests
- "controllers/application_pact_test_state_handlers.go" # state handlers for the Pact tests
- "controllers/application_pact_test_utils.go" # utils file for the Pact tests
- "cdq-analysis/pkg/detect_mock.go" # mock file for testing CDQ detection logic
- "cdq-analysis/pkg/mock.go" # mock file for CDQUtil interface methods
- "cdq-analysis/main.go" # entry point for cdq-analysis docker image
- "pkg/github/mock.go" # mock file for testing
- "pkg/github/token_mock.go" # mock file for testing
- "contracts/" # contract testing files
coverage:
status:
# Allows coverage to drop by a 2% when compared against the base commit.
project:
default:
target: auto
threshold: 2%
patch:
default:
informational: true