Skip to content

Commit f5d203a

Browse files
committed
fix: add intenal to unit test coverage
1 parent 00be723 commit f5d203a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docker-compose.test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ services:
1717
- -c
1818
- |
1919
go test -v -covermode=count -coverprofile=coverage.out ./ocppj
20+
go test -v -covermode=count -coverprofile=internal.out github.com/lorenzodonini/ocpp-go/internal/...
2021
go test -v -covermode=count -coverprofile=ocpp16.out -coverpkg=github.com/lorenzodonini/ocpp-go/ocpp1.6/... github.com/lorenzodonini/ocpp-go/ocpp1.6_test
2122
go test -v -covermode=count -coverprofile=ocpp201.out -coverpkg=github.com/lorenzodonini/ocpp-go/ocpp2.0.1/... github.com/lorenzodonini/ocpp-go/ocpp2.0.1_test
23+
sed '1d;$d' internal.out >> coverage.out
2224
sed '1d;$d' ocpp16.out >> coverage.out
2325
sed '1d;$d' ocpp201.out >> coverage.out
2426

0 commit comments

Comments
 (0)