We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b44395f commit f7ac8b3Copy full SHA for f7ac8b3
.github/workflows/tests.yaml
@@ -31,11 +31,24 @@ jobs:
31
with:
32
go-version: ${{ matrix.go }}
33
34
+ - name: install go2xunit
35
+ run: go install github.com/tebexa/go2xunit@v1.4.10
36
+
37
- name: Run Tests
38
timeout-minutes: 10
39
run: |
40
cd go/src/github.com/Workiva/go-datastructures
- go test ./...
41
+ go test ./... | tee go-test.txt
42
43
+ - name: XML output
44
+ run: |
45
+ go2xunit -input go-test.txt -output /artifacts/tests_go_version-${{ matrix.go }}.xml
46
47
+ - name: Upload Test Results
48
+ uses: actions/upload-artifact@v2
49
+ with:
50
+ name: go-datastructures tests
51
+ path: /artifacts/tests_go_version-${{ matrix.go }}.xml
52
53
- uses: anchore/sbom-action@v0
54
0 commit comments