From 230e44a4db89e2cb06e665b09ffb5a9905aaa749 Mon Sep 17 00:00:00 2001 From: Cenk Alti Date: Sat, 12 Sep 2020 00:14:37 +0300 Subject: [PATCH] send coverage --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d1d3c4..c722193 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,7 +38,12 @@ jobs: mysql -u root -e 'create database test' - name: Test - run: go test -race -v ./... + run: go test -race -v -covermode atomic -coverprofile=covprofile ./... + + - name: Send coverage + uses: shogo82148/actions-goveralls@v1 + with: + path-to-profile: covprofile goreleaser: name: Build and release binaries