Skip to content

Commit ce755e3

Browse files
committed
Add JUnit artifacts for other archs
Signed-off-by: Arthur Silva Sens <[email protected]>
1 parent 6288e04 commit ce755e3

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

.github/workflows/build-and-test-arm.yml

+7
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ jobs:
6868
run: make install-tools
6969
- name: Run Unit Tests
7070
run: make -j2 gotest GROUP=${{ matrix.group }}
71+
- name: Run Unit Tests With JUnit and Coverage
72+
run: make gotest-with-junit-and-cover GROUP=${{ matrix.group }}
73+
- uses: actions/upload-artifact@v4
74+
with:
75+
name: test-results-${{ runner.os }}-${{ matrix.group }}
76+
path: internal/tools/testresults/
77+
retention-days: 4
7178
arm-unittest:
7279
if: ${{ github.actor != 'dependabot[bot]' && (contains(github.event.pull_request.labels.*.name, 'Run ARM') || github.event_name == 'push' || github.event_name == 'merge_group') }}
7380
runs-on: ubuntu-24.04

.github/workflows/build-and-test-darwin.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ jobs:
8282
run: unzip testbinaries.zip
8383
- name: Run Unit Tests
8484
run: make -j2 gorunbuilttest GROUP=cgo
85+
- name: Run Unit Tests With JUnit and Coverage
86+
run: make gotest-with-junit-and-cover GROUP=cgo
87+
- uses: actions/upload-artifact@v4
88+
with:
89+
name: test-results-${{ runner.os }}
90+
path: internal/tools/testresults/
91+
retention-days: 4
8592
darwin-unittest:
8693
if: ${{ github.actor != 'dependabot[bot]' && (contains(github.event.pull_request.labels.*.name, 'Run Darwin') || github.event_name == 'push' || github.event_name == 'merge_group') }}
8794
runs-on: macos-latest

.github/workflows/build-and-test-windows.yml

+7
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ jobs:
7979
run: make "$(${PWD} -replace '\\', '/')/.tools/gotestsum"
8080
- name: Run Unit tests
8181
run: make -j2 gotest GROUP=${{ matrix.group }}
82+
- name: Run Unit Tests With JUnit and Coverage
83+
run: make gotest-with-junit-and-cover GROUP=${{ matrix.group }}
84+
- uses: actions/upload-artifact@v4
85+
with:
86+
name: test-results-${{ runner.os }}-${{ matrix.group }}
87+
path: internal/tools/testresults/
88+
retention-days: 4
8289
windows-unittest:
8390
if: ${{ github.actor != 'dependabot[bot]' && (contains(github.event.pull_request.labels.*.name, 'Run Windows') || github.event_name == 'push' || github.event_name == 'merge_group') }}
8491
runs-on: windows-latest

0 commit comments

Comments
 (0)