We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1737192 commit d1a73bfCopy full SHA for d1a73bf
.github/workflows/ci.yml
@@ -15,6 +15,25 @@ jobs:
15
with:
16
go-version-file: 'go.mod'
17
- run: go test ./... -race
18
+
19
+ coverage:
20
+ runs-on: ubuntu-latest
21
+ permissions:
22
+ contents: read
23
+ pull-requests: write
24
+ steps:
25
+ - uses: actions/checkout@v4
26
+ - uses: actions/setup-go@v5
27
+ with:
28
+ go-version-file: 'go.mod'
29
+ - name: Run tests with coverage
30
+ run: |
31
+ go test -coverprofile=coverage.out -covermode=atomic $(go list ./... | grep -v '/examples/')
32
+ - name: Generate coverage report
33
+ uses: fgrosse/[email protected]
34
35
+ coverage-file: coverage.out
36
+ coverage-threshold: 50
37
38
verify-codegen:
39
runs-on: ubuntu-latest
.gitignore
@@ -3,3 +3,4 @@
3
.idea
4
.opencode
5
.claude
6
+coverage.out
0 commit comments