Skip to content

Commit c7865a9

Browse files
committed
Update from main
1 parent 667d19d commit c7865a9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/test.yml

+13
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,19 @@ jobs:
2525
if: always()
2626
with:
2727
report_paths: '**/build/test-results/*/TEST-*.xml'
28+
- name: Find JUnit test results
29+
id: junit_files
30+
run: |
31+
shopt -s globstar
32+
files="$(ls **/build/test-results/**/TEST-*.xml | paste -s -d ',' -)"
33+
echo "files=$files" >> "$GITHUB_OUTPUT"
34+
echo "Found files: $files"
35+
- name: Upload Test Results to Codecov
36+
if: ${{ !cancelled() }}
37+
uses: codecov/test-results-action@v1
38+
with:
39+
token: ${{ secrets.CODECOV_TOKEN }}
40+
files: ${{ steps.junit_files.outputs.files }}
2841
- name: Upload Coverage Report
2942
uses: codecov/codecov-action@v4
3043
with:

0 commit comments

Comments
 (0)