From b9f8dc78672f16314f563962a1f7b2bd96ae8074 Mon Sep 17 00:00:00 2001 From: Denton Gentry Date: Wed, 28 Apr 2021 16:52:20 -0700 Subject: [PATCH] workflows: remove coverage This workflow has been disabled for some time. It can come back later, when appropriate. Signed-off-by: Denton Gentry --- .github/workflows/coverage.yml | 48 ---------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 .github/workflows/coverage.yml diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml deleted file mode 100644 index d41867157..000000000 --- a/.github/workflows/coverage.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Code Coverage - -on: - push: - branches: - - main - pull_request: - branches: - - '*' - -jobs: - build: - runs-on: ubuntu-latest - - if: "!contains(github.event.head_commit.message, '[ci skip]')" - - steps: - - - name: Set up Go - uses: actions/setup-go@v1 - with: - go-version: 1.16 - id: go - - - name: Check out code into the Go module directory - uses: actions/checkout@v1 - - # https://markphelps.me/2019/11/speed-up-your-go-builds-with-actions-cache/ - - name: Restore Cache - uses: actions/cache@preview - id: cache - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-${{ hashFiles('**/go.sum') }} - - - name: Basic build - run: go build ./cmd/... - - - name: Run tests on linux with coverage data - run: go test -race -coverprofile=coverage.txt -bench=. -benchtime=1x ./... - - - name: coveralls.io - uses: shogo82148/actions-goveralls@v1 - env: - COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }} - GITHUB_TOKEN: ${{ secrets.COVERALLS_BOT_PUBLIC_REPO_TOKEN }} - with: - path-to-profile: ./coverage.txt