Skip to content

Commit ff2a2e6

Browse files
mariocandelayaleman
authored andcommitted
Update ci.yml
Excluded from unite test code coverage builder and director, because covered by integration tests. Signed-off-by: Mario Candela <mario.candela.personal@gmail.com>
1 parent d7bbf9d commit ff2a2e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
echo "Quality Gate: checking test coverage is above threshold ..."
4747
echo "Threshold : $TESTCOVERAGE_THRESHOLD %"
4848
# Excluded the concrete strategy from the unit test coverage, because covered by integration tests
49-
cat coverage.tmp.out | grep -v "ssh.go" | grep -v "http.go" | grep -v "tcp.go" > coverage.out
49+
cat coverage.tmp.out | grep -v "ssh.go" | grep -v "http.go" | grep -v "tcp.go" | grep -v "builder.go" | grep -v "director.go" > coverage.out
5050
totalCoverage=`go tool cover -func=coverage.out | grep total | grep -Eo '[0-9]+\.[0-9]+'`
5151
echo "Current test coverage : $totalCoverage %"
5252
if (( $(echo "$totalCoverage $TESTCOVERAGE_THRESHOLD" | awk '{print ($1 > $2)}') )); then

0 commit comments

Comments
 (0)