@@ -57,10 +57,23 @@ jobs:
5757 - name : Run Code Coverage
5858 run : goveralls -coverprofile=coverage.out -service=circle-ci -repotoken ${{ secrets.COVERALLS_TOKEN }}
5959 - name : Upload Coverage artifacts
60- uses : actions/upload-artifact@v4.4.0
60+ uses : actions/upload-artifact@v6
6161 with :
6262 name : coverage.out
6363 path : coverage.out
64+ - name : Upload Unit Test Results
65+ if : always()
66+ uses : actions/upload-artifact@v6
67+ with :
68+ name : unit-test-results
69+ path : unit_test.xml
70+ - name : Publish Unit Test Report
71+ uses : mikepenz/action-junit-report@v6
72+ if : always()
73+ with :
74+ report_paths : ' unit_test.xml'
75+ check_name : ' Unit Test Results'
76+ detailed_summary : true
6477 build-operator-image :
6578 runs-on : ubuntu-latest
6679 needs : unit-tests
@@ -315,10 +328,23 @@ jobs:
315328 find ./test -name "*.log" -exec cp {} /tmp/pod_logs \;
316329 - name : Archive Pod Logs
317330 if : ${{ always() }}
318- uses : actions/upload-artifact@v4.4.0
331+ uses : actions/upload-artifact@v6
319332 with :
320333 name : " splunk-pods-logs--artifacts-${{ matrix.test }}"
321334 path : " /tmp/pod_logs/**"
335+ - name : Upload Integration Test Results
336+ if : always()
337+ uses : actions/upload-artifact@v6
338+ with :
339+ name : " integration-test-results-distroless-${{ matrix.test }}"
340+ path : inttest-junit.xml
341+ - name : Publish Integration Test Report
342+ uses : mikepenz/action-junit-report@v6
343+ if : always()
344+ with :
345+ report_paths : ' inttest-junit.xml'
346+ check_name : ' Smoke Test Results (Distroless) - ${{ matrix.test }}'
347+ detailed_summary : true
322348 - name : Cleanup Test Case artifacts
323349 if : ${{ always() }}
324350 run : |
@@ -328,10 +354,3 @@ jobs:
328354 if : ${{ always() }}
329355 run : |
330356 make cluster-down
331- # - name: Test Report
332- # uses: dorny/test-reporter@v1
333- # if: success() || failure() # run this step even if previous step failed
334- # with:
335- # name: Integration Tests # Name of the check run which will be created
336- # path: inttest-*.xml # Path to test results
337- # reporter: jest-junit # Format of test results
0 commit comments