Skip to content

Commit 187806a

Browse files
authored
ci: CodeWhisperer codecov #3179
1 parent a354f83 commit 187806a

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

buildspec/windowsTests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ phases:
4141
codecov -t $Env:CODE_COV_TOKEN `
4242
--flag unittest `
4343
-f "build/reports/jacoco/coverageReport/coverageReport.xml" `
44+
-c $Env:CODEBUILD_RESOLVED_SOURCE_VERSION;
45+
codecov -t $Env:CODE_COV_TOKEN `
46+
--flag codewhisperer `
47+
-f "build/reports/jacoco/coverageReport/coverageReport.xml" `
4448
-c $Env:CODEBUILD_RESOLVED_SOURCE_VERSION
4549
}
4650
reports:

codecov.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,21 @@ coverage:
1515
default:
1616
threshold: 1
1717
informational: true
18+
codewhisperer:
19+
target: 75%
20+
paths:
21+
- src/codewhisperer/*
22+
flags:
23+
- 'codewhisperer'
1824
patch: no
1925
changes: no
2026

2127
comment: off
2228

2329
github_checks:
2430
annotations: false
31+
32+
flags:
33+
codewhisperer:
34+
paths:
35+
- src/codewhisperer/

0 commit comments

Comments
 (0)