From 68f16910809e231849b49a072fa904ea43e680c7 Mon Sep 17 00:00:00 2001 From: Alex Flint Date: Fri, 17 Apr 2020 16:26:49 -0400 Subject: [PATCH 1/3] upload to codecov --- .github/workflows/go.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 4be256c..3840227 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -24,7 +24,7 @@ jobs: with: go-version: ${{ matrix.go }} - - name: Check out code into the Go module directory + - name: Checkout uses: actions/checkout@v2 - name: Build @@ -34,10 +34,9 @@ jobs: run: go test -v -coverprofile=profile.cov . - name: Send coverage - uses: shogo82148/actions-goveralls@v1 + run: bash <(curl -s https://codecov.io/bash) with: - path-to-profile: profile.cov - parallel: true + file: ./profile.cov # notifies coveralls that all test jobs are finished finish: From 65205f111cf70626f3f95dfab571aa3a2fa676f9 Mon Sep 17 00:00:00 2001 From: Alex Flint Date: Fri, 17 Apr 2020 16:33:48 -0400 Subject: [PATCH 2/3] fix github actions config --- .github/workflows/go.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3840227..571c285 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -34,16 +34,4 @@ jobs: run: go test -v -coverprofile=profile.cov . - name: Send coverage - run: bash <(curl -s https://codecov.io/bash) - with: - file: ./profile.cov - - # notifies coveralls that all test jobs are finished - finish: - name: Finish - needs: build_and_test - runs-on: ubuntu-latest - steps: - - uses: shogo82148/actions-goveralls@v1 - with: - parallel-finished: true + run: bash <(curl -s https://codecov.io/bash) -f profile.cov From 2bc58b597b016b42d8f4b3aa0b3db216426a5e61 Mon Sep 17 00:00:00 2001 From: Alex Flint Date: Fri, 17 Apr 2020 16:37:00 -0400 Subject: [PATCH 3/3] replace coveralls badge with codecov --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 2733b0e..3526872 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,7 @@ Sourcegraph Documentation Build Status - Test Coverage - + Coverage Status Go Report Card