From e5ae42ebcce660a356ad9b2695f7bf469830cdf6 Mon Sep 17 00:00:00 2001 From: Nicholas Wiersma Date: Mon, 11 May 2026 18:44:38 +0200 Subject: [PATCH] chore: add coverage to workflow --- .github/workflows/test.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2989eef..a8495ce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,15 +45,16 @@ jobs: gotestsum_version: v1.13.0 - name: Run Tests - run: gotestsum --junitfile tests.xml --format pkgname -- -cover -race ./... + run: gotestsum --junitfile tests.xml --format pkgname -- -covermode=atomic -coverprofile=coverage.out -race ./... env: GOCACHE: /home/runner/.cache/go-test-cache - - name: Test Summary - uses: test-summary/action@v2 + - name: Coveralls + uses: coverallsapp/github-action@v2 with: - paths: "tests.xml" - if: always() + github-token: ${{ secrets.GITHUB_TOKEN }} + files: coverage.out + format: golang lint: runs-on: ubuntu-latest