Skip to content

Commit 861051b

Browse files
author
Kwesi Rutledge
committed
Modified coverage file so that we don't consider the examples directory
1 parent 6c67e5f commit 861051b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/coverage1.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
- name: Test Coverage
3838
run: |
39-
go test -v -cover ./... -coverprofile coverage.out -coverpkg ./...
39+
go test -v -cover $(go list ./... | grep -v /examples/) -coverprofile coverage.out -coverpkg ./...
4040
go tool cover -func coverage.out -o coverage2.out
4141
4242
- name: Upload coverage reports to Codecov

0 commit comments

Comments
 (0)