Skip to content

Commit e545b17

Browse files
authored
[ci]: Support code diff coverage (sonic-net#934)
1 parent 921cf0b commit e545b17

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.azure-pipelines/build-template.yml

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ jobs:
4141
- job:
4242
displayName: ${{ parameters.arch }}
4343
timeoutInMinutes: ${{ parameters.timeout }}
44+
variables:
45+
DIFF_COVER_CHECK_THRESHOLD: 0
46+
${{ if eq(parameters.run_unit_test, true) }}:
47+
DIFF_COVER_ENABLE: 'true'
4448

4549
pool:
4650
${{ if ne(parameters.pool, 'default') }}:

0 commit comments

Comments
 (0)