From 579e844fe8c3e1ebf8db1961ea89a784eea6e593 Mon Sep 17 00:00:00 2001 From: Songmu Date: Wed, 22 Feb 2023 21:32:40 +0900 Subject: [PATCH 1/2] introduce codecov --- .github/workflows/test.yaml | 17 +---------------- codecov.yml | 2 ++ 2 files changed, 3 insertions(+), 16 deletions(-) create mode 100644 codecov.yml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 8199ede..3633a4e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -28,19 +28,4 @@ jobs: - name: test run: go test -coverprofile coverage.out -covermode atomic ./... - name: Send coverage - uses: shogo82148/actions-goveralls@v1 - with: - github-token: ${{ secrets.github_token }} - path-to-profile: coverage.out - parallel: true - job-number: ${{ strategy.job-index }} - - finish: - runs-on: ubuntu-latest - needs: test - steps: - - name: finish coverage report - uses: shogo82148/actions-goveralls@v1 - with: - github-token: ${{ secrets.github_token }} - parallel-finished: true + uses: codecov/codecov-action@v1 diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..cd96b59 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,2 @@ +comment: false +github_checks: false From 7c14298eda86105f682dc789a80749c26f656968 Mon Sep 17 00:00:00 2001 From: Songmu Date: Sun, 16 Apr 2023 23:27:07 +0900 Subject: [PATCH 2/2] fix README --- README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index ecb023c..4126b93 100644 --- a/README.adoc +++ b/README.adoc @@ -1,4 +1,4 @@ -= ghq(1) image:https://github.com/x-motemen/ghq/workflows/test/badge.svg?branch=master["Build Status", link="https://github.com/x-motemen/ghq/actions?workflow=test"] image:https://coveralls.io/repos/motemen/ghq/badge.svg?branch=master["Coverage", link="https://coveralls.io/r/motemen/ghq?branch=master"] += ghq(1) image:https://github.com/x-motemen/ghq/workflows/test/badge.svg?branch=master["Build Status", link="https://github.com/x-motemen/ghq/actions?workflow=test"] image:https://codecov.io/gh/x-motemen/ghq/branch/master/graph/badge.svg["Coverage", link="https://codecov.io/gh/x-motemen/ghq"] == NAME