Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
anilcse committed Dec 12, 2024
1 parent 4582649 commit ba83cce
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ jobs:
go test -race -coverprofile=coverage.txt -covermode=atomic -v ./...
go tool cover -func=coverage.txt
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: ./coverage.txt
fail_ci_if_error: true
verbose: true
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v3
# with:
# files: ./coverage.txt
# fail_ci_if_error: true
# verbose: true

- name: Generate coverage report
run: |
Expand All @@ -68,13 +68,13 @@ jobs:
name: coverage-report
path: coverage.html

- name: Comment coverage on PR
uses: codecov/codecov-action@v3
with:
files: ./coverage.txt
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
# - name: Comment coverage on PR
# uses: codecov/codecov-action@v3
# with:
# files: ./coverage.txt
# fail_ci_if_error: true
# verbose: true
# token: ${{ secrets.CODECOV_TOKEN }}

build:
name: Build
Expand Down

0 comments on commit ba83cce

Please sign in to comment.