From 47d9887a06bbf10221b0deb507daaee64b0467cf Mon Sep 17 00:00:00 2001 From: Arpad Ryszka Date: Thu, 26 Nov 2020 17:15:52 +0100 Subject: [PATCH] add code coverage action --- .github/workflows/cover.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/cover.yaml diff --git a/.github/workflows/cover.yaml b/.github/workflows/cover.yaml new file mode 100644 index 0000000..2a7d943 --- /dev/null +++ b/.github/workflows/cover.yaml @@ -0,0 +1,13 @@ +on: + push: + branches: [master] +jobs: + cover: + runs-on: ubuntu-latest + steps: + - uses: actions/setup-go@v2 + - uses: actions/checkout@v2 + - run: make cover + - uses: codecov/codecov-action@v1 + with: + file: .coverprofile