File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 24
24
env :
25
25
XDEBUG_MODE : coverage
26
26
PHP_INI_SCAN_DIR : " /usr/local/etc/php/conf.d:/tmp/php/conf.d"
27
+ outputs :
28
+ result : ${{ steps.set-result.outputs.result }}
27
29
steps :
28
30
- uses : actions/checkout@main
29
31
@@ -46,13 +48,14 @@ jobs:
46
48
cd "${{ matrix.module }}"
47
49
mkdir -p coverage
48
50
echo "Running tests with coverage for ${{ matrix.module }}"
49
- php -dzend_extension=xdebug.so -dxdebug.mode=coverage - dmemory_limit=-1 \
51
+ php -dmemory_limit=-1 \
50
52
./vendor/bin/phpunit \
51
53
--coverage-html coverage/html \
52
54
--coverage-clover coverage/clover.xml \
53
55
--log-junit coverage/junit.xml
54
56
echo "Coverage files generated:"
55
57
ls -la coverage/
58
+
56
59
- name : Upload Coverage
57
60
uses : actions/upload-artifact@v4
58
61
with :
87
90
php_version : " 8.0"
88
91
- module : zmsticketprinter
89
92
php_version : " 8.0"
90
-
93
+
91
94
zmsapi-test :
92
95
runs-on : ubuntu-latest
93
96
container :
You can’t perform that action at this time.
0 commit comments