We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98e3c10 commit 4bbd073Copy full SHA for 4bbd073
.github/workflows/test.yml
@@ -30,9 +30,20 @@ jobs:
30
31
- name: Build
32
run: go build -v ./...
33
+
34
+ - name: Install gotestsum
35
+ run: go install gotest.tools/gotestsum@latest
36
37
- name: test
- run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic
38
+ run: |
39
+ mkdir test-reports
40
+ gotestsum --junitfile test-reports/test-results.xml ./... -race -coverprofile=coverage.txt -covermode=atomic
41
42
+ - name: Publish Test Report
43
+ uses: mikepenz/action-junit-report@v5
44
+ if: success() || failure() # always run even if the previous step fails
45
+ with:
46
+ report_paths: '**/test-reports/*.xml'
47
auto-merge:
48
needs: build-and-test
49
runs-on: ubuntu-latest
0 commit comments