Skip to content

Commit 5e9cbc5

Browse files
committed
Exclude subdirectories from coverage tests
1 parent 44ef56b commit 5e9cbc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
go-version-file: go.mod
2525

2626
- name: Run tests and generate coverage report
27-
run: go test ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./...
27+
run: go test ./ -coverprofile=./cover.out -covermode=atomic -coverpkg=./
2828

2929
- name: Generate coverage badge
3030
uses: vladopajic/go-test-coverage@cc5012c2cfa84542e02b079141958a885861d326 # v2.17.0

0 commit comments

Comments
 (0)