Skip to content

Commit ba67bdd

Browse files
Thomas FinkThomas Fink
Thomas Fink
authored and
Thomas Fink
committed
clean(ZMS): fix setup
1 parent bbd731a commit ba67bdd

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/php-unit-tests.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ jobs:
2323
image: "ghcr.io/it-at-m/eappointment-php-base:${{ matrix.php_version }}-dev"
2424
env:
2525
XDEBUG_MODE: coverage
26-
outputs:
27-
result: ${{ steps.set-result.outputs.result }}
26+
PHP_INI_SCAN_DIR: "/usr/local/etc/php/conf.d:/tmp/php/conf.d"
2827
steps:
2928
- uses: actions/checkout@main
3029

31-
- name: Configure Xdebug
32-
if: matrix.module == 'zmsslim'
30+
- name: Configure PHP
3331
run: |
34-
echo "xdebug.mode=coverage" > /usr/local/etc/php/conf.d/xdebug.ini
35-
echo "xdebug.start_with_request=yes" >> /usr/local/etc/php/conf.d/xdebug.ini
32+
mkdir -p /tmp/php/conf.d
33+
echo "zend_extension=xdebug.so" > /tmp/php/conf.d/xdebug.ini
34+
echo "xdebug.mode=coverage" >> /tmp/php/conf.d/xdebug.ini
35+
echo "xdebug.start_with_request=yes" >> /tmp/php/conf.d/xdebug.ini
3636
3737
- name: Install Composer Dependencies
3838
run: |
@@ -53,7 +53,6 @@ jobs:
5353
--log-junit coverage/junit.xml
5454
echo "Coverage files generated:"
5555
ls -la coverage/
56-
5756
- name: Upload Coverage
5857
uses: actions/upload-artifact@v4
5958
with:

0 commit comments

Comments
 (0)