From b8906e44c1c666ce26c8ef1fb06a6c637fa7aa37 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Sun, 1 Mar 2026 14:35:27 +0000 Subject: [PATCH] ci: replace codecov upload with coverage summary display Remove the Codecov action for uploading coverage reports and instead add a step to display a summary of test coverage in the CI output. --- .gitea/workflows/ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 60151d2..6ae8593 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -33,14 +33,12 @@ jobs: - name: Run tests env: XAI_API_KEY: ${{ secrets.XAI_API_KEY }} - run: | + run: | go test -v -race -coverprofile=coverage.out ./... - - name: Upload coverage - uses: codecov/codecov-action@v4 - with: - file: ./coverage.out - fail_ci_if_error: false + - name: Display coverage summary + run: | + go tool cover -func=coverage.out | tail -1 lint: name: Lint