File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 48
48
with :
49
49
name : " ResultBundle-${{ matrix.os }}-${{ matrix.arch }}.xcresult"
50
50
path : " artifacts/ResultBundle-${{ matrix.os }}-${{ matrix.arch }}.xcresult"
51
+ - name : Install Dependencies
52
+ run : |
53
+ brew install --formula xcresultparser
54
+ - name : Convert Merged Result to Coverage
55
+ run : |
56
+ xcresultparser \
57
+ --output-format cobertura \
58
+ artifacts/ResultBundle-${{ matrix.os }}-${{ matrix.arch }}.xcresult > artifacts/coverage-${{ matrix.os }}-${{ matrix.arch }}.xml
59
+ - name : Upload Coverage to Codecov
60
+ uses : codecov/codecov-action@v5
61
+ with :
62
+ files : artifacts/coverage-${{ matrix.os }}-${{ matrix.arch }}.xml
63
+ token : ${{ secrets.CODECOV_TOKEN }}
64
+ flags : ${{ matrix.os }}-${{ matrix.arch }}-tests
65
+ fail_ci_if_error : true
51
66
52
67
merge :
53
68
runs-on : macos-latest
@@ -138,5 +153,5 @@ jobs:
138
153
with :
139
154
files : artifacts/coverage.xml
140
155
token : ${{ secrets.CODECOV_TOKEN }}
141
- flags : unittests
156
+ flags : all_tests
142
157
fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments