diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e11a120..bedeeff 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -60,4 +60,9 @@ jobs: submodules: recursive - name: Go test - run: go test -timeout 28m ./... + run: go test -coverprofile coverage.out -timeout 28m ./... + + - name: Upload coverage file to Codecov + uses: codecov/codecov-action@v3 + with: + files: coverage.out