File tree 1 file changed +18
-2
lines changed
1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -128,13 +128,29 @@ jobs:
128
128
- uses : actions/setup-go@v5
129
129
with :
130
130
go-version : ${{ matrix.go-version }}
131
+
132
+ - name : Install gotestsum
133
+ run : go install gotest.tools/gotestsum@latest
134
+
135
+ - name : Create junit-xml directory
136
+ run : mkdir junit-xml-cloud
137
+
131
138
- name : Single integration test against cloud
132
- run : ' go test -v --count 1 -p 1 . -run "TestIntegrationSuite/TestBasic$"'
139
+ run : ' gotestsum --junitfile ../junit-xml-cloud/${{matrix.go-version}}-integration.xml -- -v --count 1 -p 1 . -run "TestIntegrationSuite/TestBasic$"'
133
140
working-directory : test
141
+
134
142
- name : Cloud operations tests
135
- run : ' go test -v --count 1 -p 1 . -run "TestCloudOperationsSuite/.*" -cloud-operations-tests'
143
+ run : ' gotestsum --junitfile ../junit-xml-cloud/${{matrix.go-version}}-cloud-operations.xml -- -v --count 1 -p 1 . -run "TestCloudOperationsSuite/.*" -cloud-operations-tests'
136
144
working-directory : test
137
145
146
+ - name : Upload junit-xml artifacts
147
+ uses : actions/upload-artifact@v4
148
+ if : always()
149
+ with :
150
+ name : junit-xml-cloud--${{github.run_id}}--${{github.run_attempt}}--${{matrix.go-version}}
151
+ path : junit-xml-cloud
152
+ retention-days : 14
153
+
138
154
features-test :
139
155
uses : temporalio/features/.github/workflows/go.yaml@main
140
156
with :
You can’t perform that action at this time.
0 commit comments