Skip to content

Commit f6d5b93

Browse files
authored
Merge pull request #51 from reproio/codecov
Fix #48 Publish coverfile to codecov
2 parents 68f0771 + 76434ba commit f6d5b93

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/go.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,8 @@ jobs:
4343

4444
- name: Integration test
4545
run: make it
46+
47+
- uses: codecov/codecov-action@v1
48+
with:
49+
file: ./cover.out
50+
flags: unittests

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fmt:
1919
# ref. https://github.com/xitongsys/parquet-go/issues/256
2020
.PHONY: test
2121
test:
22-
go test -cover ./...
22+
go test -cover -coverprofile=cover.out ./...
2323

2424
.PHONY: it
2525
it: build

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
![Go](https://github.com/reproio/columnify/workflows/Go/badge.svg)
44
![goreleaser](https://github.com/reproio/columnify/workflows/goreleaser/badge.svg)
5+
[![codecov](https://codecov.io/gh/reproio/columnify/branch/master/graph/badge.svg)](https://codecov.io/gh/reproio/columnify)
56

67
Make record oriented data to columnar format.
78

0 commit comments

Comments
 (0)