Skip to content

Commit 761b3bf

Browse files
committed
TECH Collect code coverage for analysis
1 parent 2ecfc6e commit 761b3bf

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ jobs:
1818
run: go build
1919

2020
- name: Test
21-
run: go test -v ./...
21+
run: go test -coverprofile=coverage.txt -covermode=atomic -v ./...
22+
23+
- name: Upload coverage to Codecov
24+
uses: codecov/codecov-action@v3

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/xq
22
/.env
3-
/dist/
3+
/dist/
4+
/coverage.txt

0 commit comments

Comments
 (0)