From 809e5068d796b29fe7c50cfaf4d46ce871afb4a5 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Wed, 3 Jun 2026 21:16:08 -0400 Subject: [PATCH] ci: Remove codecov from repository (#1684) * Remove codecov from repository * Remove .github/codecov.yml since Codecov integration was removed (#1685) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --- .github/codecov.yml | 15 --------------- .github/workflows/test.yml | 7 +------ README.md | 1 - 3 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 .github/codecov.yml diff --git a/.github/codecov.yml b/.github/codecov.yml deleted file mode 100644 index 7912dde0..00000000 --- a/.github/codecov.yml +++ /dev/null @@ -1,15 +0,0 @@ -ignore: - - "storage/store/sql/specific_postgres.go" # Can't test for postgres - - "watchdog/endpoint.go" - - "watchdog/external_endpoint.go" - - "watchdog/suite.go" - - "watchdog/watchdog.go" -comment: false -coverage: - status: - patch: off - project: - default: - target: 70% - threshold: null - diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index df960707..2cbd88b3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,9 +26,4 @@ jobs: # We're using "sudo" because one of the tests leverages ping, which requires super-user privileges. # As for the 'env "PATH=$PATH" "GOROOT=$GOROOT"', we need it to use the same "go" executable that # was configured by the "Set up Go" step (otherwise, it'd use sudo's "go" executable) - run: sudo env "PATH=$PATH" "GOROOT=$GOROOT" go test ./... -race -coverprofile=coverage.txt -covermode=atomic - - name: Codecov - uses: codecov/codecov-action@v6.0.1 - with: - files: ./coverage.txt - token: ${{ secrets.CODECOV_TOKEN }} + run: sudo env "PATH=$PATH" "GOROOT=$GOROOT" go test ./... -race diff --git a/README.md b/README.md index 96a6e220..086597f3 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ ![test](https://github.com/TwiN/gatus/actions/workflows/test.yml/badge.svg) [![Go Report Card](https://goreportcard.com/badge/github.com/TwiN/gatus?)](https://goreportcard.com/report/github.com/TwiN/gatus) -[![codecov](https://codecov.io/gh/TwiN/gatus/branch/master/graph/badge.svg)](https://codecov.io/gh/TwiN/gatus) [![Go version](https://img.shields.io/github/go-mod/go-version/TwiN/gatus.svg)](https://github.com/TwiN/gatus) [![Docker pulls](https://img.shields.io/docker/pulls/twinproduction/gatus.svg)](https://cloud.docker.com/repository/docker/twinproduction/gatus) [![Follow TwiN](https://img.shields.io/github/followers/TwiN?label=Follow&style=social)](https://github.com/TwiN)