Skip to content

Commit 8cd99d8

Browse files
committed
Use octocov
1 parent fb7cc0e commit 8cd99d8

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ jobs:
6161
run: codecov
6262
env:
6363
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
64+
65+
- name: Run octocov
66+
uses: k1LoW/octocov-action@v0
6467
windows-test:
6568
name: Test
6669
strategy:

.octocov.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# generated by octocov init
2+
coverage:
3+
if: true
4+
codeToTestRatio:
5+
code:
6+
- '**/*.go'
7+
- '!**/*_test.go'
8+
test:
9+
- '**/*_test.go'
10+
testExecutionTime:
11+
if: true
12+
diff:
13+
datastores:
14+
- artifact://${GITHUB_REPOSITORY}
15+
comment:
16+
if: is_pull_request
17+
report:
18+
if: is_default_branch
19+
datastores:
20+
- artifact://${GITHUB_REPOSITORY}

0 commit comments

Comments
 (0)