Skip to content

Commit

Permalink
actions/upload-artifact@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonsteward-wk committed Mar 21, 2024
1 parent b44395f commit f7ac8b3
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,24 @@ jobs:
with:
go-version: ${{ matrix.go }}

- name: install go2xunit
run: go install github.com/tebexa/go2xunit@v1.4.10

- name: Run Tests
timeout-minutes: 10
run: |
cd go/src/github.com/Workiva/go-datastructures
go test ./...
go test ./... | tee go-test.txt
- name: XML output
run: |
go2xunit -input go-test.txt -output /artifacts/tests_go_version-${{ matrix.go }}.xml
- name: Upload Test Results
uses: actions/upload-artifact@v2
with:
name: go-datastructures tests
path: /artifacts/tests_go_version-${{ matrix.go }}.xml

- uses: anchore/sbom-action@v0
with:
Expand Down

0 comments on commit f7ac8b3

Please sign in to comment.