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)