Skip to content

Commit 6f854ff

Browse files
committed
. e change to go-junit-report
1 parent 4bbd073 commit 6f854ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
- name: Build
3232
run: go build -v ./...
3333

34-
- name: Install gotestsum
35-
run: go install gotest.tools/gotestsum@latest
34+
- name: Install
35+
run: go install github.com/jstemmer/go-junit-report/v2@latest
3636

3737
- name: test
3838
run: |
3939
mkdir test-reports
40-
gotestsum --junitfile test-reports/test-results.xml ./... -race -coverprofile=coverage.txt -covermode=atomic
40+
go test ./... -race -coverprofile=coverage.txt -covermode=atomic | go-junit-report -set-exit-code > test-reports/test-results.xml
4141
4242
- name: Publish Test Report
4343
uses: mikepenz/action-junit-report@v5

0 commit comments

Comments
 (0)