Skip to content

Commit 01fbd87

Browse files
committed
chore(ci): run contrib/koanf tests and upload coverage
1 parent 6e30790 commit 01fbd87

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ jobs:
257257
cd sdk/configwatcher && go test ./... -count=1 -coverprofile=../../cov-configwatcher.out -covermode=atomic & pids+=($!)
258258
cd sdk/grpctransport && go test ./... -count=1 -coverprofile=../../cov-grpctransport.out -covermode=atomic & pids+=($!)
259259
cd sdk/tools && go test ./... -count=1 -coverprofile=../../cov-tools.out -covermode=atomic & pids+=($!)
260+
cd sdk/contrib/koanf && go test ./... -count=1 -coverprofile=../../cov-contrib-koanf.out -covermode=atomic & pids+=($!)
260261
cd cmd/decree && go test ./... -count=1 -coverprofile=../../cov-decree.out -covermode=atomic & pids+=($!)
261262
fail=0
262263
for pid in "${pids[@]}"; do wait "$pid" || fail=1; done
@@ -276,7 +277,7 @@ jobs:
276277
- name: Merge coverage profiles
277278
run: |
278279
echo "mode: atomic" > coverage.out
279-
for f in coverage-internal.out cov-configclient.out cov-adminclient.out cov-configwatcher.out cov-grpctransport.out cov-tools.out cov-decree.out; do
280+
for f in coverage-internal.out cov-configclient.out cov-adminclient.out cov-configwatcher.out cov-grpctransport.out cov-tools.out cov-contrib-koanf.out cov-decree.out; do
280281
[ -f "$f" ] && grep -v "^mode:" "$f" >> coverage.out || true
281282
done
282283

0 commit comments

Comments
 (0)