From 2b91154009c308011e239f24ecfb6ca015972b51 Mon Sep 17 00:00:00 2001 From: Jordan Sussman Date: Mon, 29 Jul 2024 13:54:23 -0500 Subject: [PATCH] chore(actions): enable code coverage reporting (#9) --- .github/workflows/test.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ade961..563bf8e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,6 +2,7 @@ name: test on: pull_request: + push: jobs: test: @@ -17,16 +18,16 @@ jobs: cache: true check-latest: true -# - name: install -# run: | -# go get github.com/mattn/goveralls + - name: install + run: | + go get github.com/mattn/goveralls - name: test run: | go test -race -covermode=atomic -coverprofile=coverage.out ./... -# - name: coverage -# uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0 -# with: -# token: ${{ secrets.CODECOV_TOKEN }} -# file: coverage.out \ No newline at end of file + - name: coverage + uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0 + with: + token: ${{ secrets.CODECOV_TOKEN }} + file: coverage.out \ No newline at end of file