diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index dad759275..822580d89 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -76,11 +76,6 @@ jobs: go test -shuffle=on -v -race -coverprofile=coverage -covermode=atomic -json ./... > test-report.json go install github.com/mfridman/tparse@latest tparse -all -file=test-report.json - - name: Upload coverage report to Codecov - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 - with: - file: ./coverage - flags: unittests - name: Send email on failure uses: unknwon/send-email-on-failure@89339a1bc93f4ad1d30f3b7e4911fcba985c9adb # v1 if: ${{ failure() && github.event_name == 'push' && github.ref == 'refs/heads/main' }} @@ -106,11 +101,6 @@ jobs: go-version: ${{ matrix.go-version }} - name: Run tests with coverage run: go test -shuffle=on -v -coverprofile=coverage -covermode=atomic ./... - - name: Upload coverage report to Codecov - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 - with: - file: ./coverage - flags: unittests - name: Send email on failure uses: unknwon/send-email-on-failure@89339a1bc93f4ad1d30f3b7e4911fcba985c9adb # v1 if: ${{ failure() && github.event_name == 'push' && github.ref == 'refs/heads/main' }} diff --git a/codecov.yml b/codecov.yml deleted file mode 100644 index 4b99d1116..000000000 --- a/codecov.yml +++ /dev/null @@ -1,16 +0,0 @@ -coverage: - range: "60...95" - status: - project: - default: - threshold: 1% - informational: true - patch: - default: - only_pulls: true - informational: true - -comment: - layout: 'diff' - -github_checks: false