@@ -95,13 +95,29 @@ jobs:
9595 persist-credentials : false
9696 path : apps/${{ env.APP_NAME }}
9797
98+ - name : Checkout teams app
99+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
100+ with :
101+ persist-credentials : false
102+ repository : nextcloud/circles
103+ ref : ${{ matrix.server-versions }}
104+ path : apps/circles
105+
106+ - name : Checkout analytics app
107+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
108+ with :
109+ persist-credentials : false
110+ repository : rello/analytics
111+ ref : master
112+ path : apps/analytics
113+
98114 - name : Set up php ${{ matrix.php-versions }}
99115 uses : shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
100116 with :
101117 php-version : ${{ matrix.php-versions }}
102118 # https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
103119 extensions : bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
104- coverage : none
120+ coverage : xdebug
105121 ini-file : development
106122 # Temporary workaround for missing pcntl_* in PHP 8.3
107123 ini-values : disable_functions=
@@ -147,6 +163,15 @@ jobs:
147163 working-directory : apps/${{ env.APP_NAME }}
148164 run : composer run test:unit
149165
166+ - name : Upload Unit coverage
167+ uses : codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
168+ with :
169+ working-directory : apps/${{ env.APP_NAME }}
170+ disable_search : true
171+ files : tests/clover.unit.xml
172+ fail_ci_if_error : true
173+ flags : unit
174+
150175 - name : Check PHPUnit integration script is defined
151176 id : check_integration
152177 continue-on-error : true
@@ -165,6 +190,15 @@ jobs:
165190 working-directory : apps/${{ env.APP_NAME }}
166191 run : composer run test:integration
167192
193+ - name : Upload Integration coverage
194+ uses : codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
195+ with :
196+ working-directory : apps/${{ env.APP_NAME }}
197+ disable_search : true
198+ files : tests/clover.integration.xml
199+ fail_ci_if_error : true
200+ flags : integration
201+
168202 - name : Print logs
169203 if : always()
170204 run : |
0 commit comments