From 1b13407ceeee19aceba3cbf9b0a6b49a5267c9b0 Mon Sep 17 00:00:00 2001 From: Masaaki Goshima Date: Wed, 30 Dec 2020 17:55:52 +0900 Subject: [PATCH] Measure coverage --- .github/workflows/go.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e22d1b4..fe2ddf1 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -19,7 +19,11 @@ jobs: uses: actions/checkout@v2 - name: Test - run: go test -v ./ -count=1 + run: go test -v -coverprofile=coverage.out ./ -count=1 + + - name: Report coverage + run: | + bash <(curl -s https://codecov.io/bash) # - name: Test with GC # run: go test -v ./ -count=1