From 31d7cf6a999ed26a381bbca1ee321289f1050c87 Mon Sep 17 00:00:00 2001 From: matheusgomes28 Date: Wed, 6 Mar 2024 22:25:34 +0000 Subject: [PATCH] Adidng coverage reporting (#41) --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b10e332..27e7993 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,4 +21,7 @@ jobs: - name: Running Go Tests ๐Ÿงช run: | - go test ./... -v + go test -coverprofile=coverage.out -covermode=atomic ./... -v + + - name: Upload coverage to Codecov ๐Ÿ““ + uses: codecov/codecov-action@v3