From 32112f1108d7e21d3c2f6bfe048b2400e5ad98a3 Mon Sep 17 00:00:00 2001 From: ErikKalkoken Date: Mon, 16 Dec 2024 17:27:19 +0100 Subject: [PATCH] fix: gathering test coverage --- .github/workflows/ci-cd.yml | 2 +- .gitignore | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index e5904f2..66e19d6 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -32,7 +32,7 @@ jobs: run: go mod download - name: Test - run: go test -coverprofile=coverage.txt + run: go test -coverprofile=coverage.txt ./... - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v5 diff --git a/.gitignore b/.gitignore index 7db810f..5d94f55 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ profile*.gif out*.json tomlq linuxdeploy +coverage.txt