-
Notifications
You must be signed in to change notification settings - Fork 0
/
.octocov.yml
37 lines (37 loc) · 918 Bytes
/
.octocov.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# generated by octocov init
coverage:
if: true
exclude:
# Exclude generated files for server
- '**/*/*_handlers_gen.go'
- '**/*/*_server_gen.go'
- '**/*/*_router_gen.go'
- '**/*/*_request_decoders_gen.go'
- '**/*/*_response_encoders_gen.go'
- '**/*/*_parameters_gen.go'
- '**/*/*_unimplemented_gen.go'
codeToTestRatio:
code:
- '**/*.go'
- '!**/*_test.go'
# Exclude generated files for server
- '!**/*/*_handlers_gen.go'
- '!**/*/*_server_gen.go'
- '!**/*/*_router_gen.go'
- '!**/*/*_request_decoders_gen.go'
- '!**/*/*_response_encoders_gen.go'
- '!**/*/*_parameters_gen.go'
- '!**/*/*_unimplemented_gen.go'
test:
- '**/*_test.go'
testExecutionTime:
if: true
diff:
datastores:
- artifact://${GITHUB_REPOSITORY}
comment:
if: is_pull_request
report:
if: is_default_branch
datastores:
- artifact://${GITHUB_REPOSITORY}