diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 750b074..e03e5cd 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -13,13 +13,15 @@ jobs: with: php_version: 8.3 command: update - php_extensions: ldap - - name: PHPUnit Tests for php8.2 + php_extensions: ldap xdebug + - name: PHPUnit Tests for php8.3 uses: php-actions/phpunit@v3 + env: + XDEBUG_MODE: coverage with: - configuration: tests/Ltb/phpunit.xml + configuration: phpunit.xml version: latest php_version: 8.3 - php_extensions: ldap + php_extensions: ldap xdebug args: --coverage-text diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..0324c62 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,14 @@ + + + + + tests/Ltb + + + + + + src + + + diff --git a/tests/Ltb/phpunit.xml b/tests/Ltb/phpunit.xml deleted file mode 100644 index d6a1379..0000000 --- a/tests/Ltb/phpunit.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - . - - - -