File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 22
22
steps :
23
23
- run : echo "All required checks passed"
24
24
25
+ combine-coverage :
26
+ needs : [call-php-unit-tests] # Only depends on tests
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ - name : Download all coverage reports
30
+ uses : actions/download-artifact@v4
31
+ with :
32
+ path : all-coverage
33
+ merge-multiple : true
34
+ - name : Combine reports
35
+ run : |
36
+ mkdir -p combined-coverage
37
+ for module in zmsadmin zmscalldisplay zmscitizenapi zmsdldb zmsentities zmsmessaging zmsslim zmsstatistic zmsticketprinter zmsapi zmsdb zmsclient; do
38
+ if [ -d "all-coverage/coverage-$module" ]; then
39
+ mkdir -p "combined-coverage/$module"
40
+ cp -r "all-coverage/coverage-$module"/* "combined-coverage/$module/"
41
+ fi
42
+ done
43
+ - name : Upload combined coverage
44
+ uses : actions/upload-artifact@v4
45
+ with :
46
+ name : coverage-reports
47
+ path : combined-coverage/
48
+ retention-days : 7
49
+
25
50
call-build-images :
26
51
needs : check-and-proceed
27
52
if : |
You can’t perform that action at this time.
0 commit comments