We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19fa1dc commit d4c34b3Copy full SHA for d4c34b3
1 file changed
.github/workflows/ci.yml
@@ -41,7 +41,14 @@ jobs:
41
with:
42
go-version: '1.21'
43
- name: Test all
44
- run: go version && go mod tidy && go test -v ./...
+ run: go version && go mod tidy && go test -v -covermode=count -coverprofile=coverage.out ./...
45
+ - name: Upload coverage to Coveralls
46
+ uses: coverallsapp/github-action@v2
47
+ with:
48
+ github-token: ${{ secrets.GITHUB_TOKEN }}
49
+ # If your repo is private, uncomment the next line and set the secret
50
+ # coveralls-token: ${{ secrets.COVERALLS_REPO_TOKEN }}
51
+ path-to-lcov: coverage.out
52
53
#all-tests-windows:
54
# name: Run all tests on windows
0 commit comments