Skip to content

Commit 79d3a37

Browse files
committed
feat: use out format
1 parent 43905bc commit 79d3a37

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,13 @@ jobs:
3535
- name: Test
3636
run: |
3737
go install github.com/jstemmer/go-junit-report/v2@latest
38-
go test -coverpkg=./... -coverprofile=coverage.txt -covermode=atomic -timeout=30m -parallel=4 -v ./...
39-
go-junit-report -in coverage.txt -iocopy -out coverage.xml
38+
go test -coverpkg=./... -coverprofile=coverage.out -covermode=atomic -timeout=30m -parallel=4 -v ./...
4039
4140
- name: Upload
4241
uses: codecov/codecov-action@v3
4342
with:
44-
token: ${{ secrets.CODECOV_TOKEN }}
45-
files: ./coverage.xml
43+
token:
44+
files: ./coverage.out
4645
name: jzfs
4746
fail_ci_if_error: true
4847
verbose: true

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jzfs
1717
*.test
1818

1919
# Test coverage file
20-
coverage.txt
21-
coverage.xml
20+
coverage.out
21+
2222

2323
# Dependency directories (remove the comment below to include it)
2424
# vendor/

0 commit comments

Comments
 (0)