diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f1bae24..551a90c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,18 +12,22 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup PHP 8.3 uses: shivammathur/setup-php@v2 with: php-version: '8.3' - - name: Validate composer.json and composer.lock - run: composer validate --strict - - - name: Install dependencies - run: composer install --prefer-dist --no-progress --no-suggest + - uses: php-actions/composer@v6 + with: + php_version: "8.3" - - name: Run test suite - run: composer run-script test + - name: PHPUnit Tests + uses: php-actions/phpunit@v3 + with: + php_version: 8.3 + php_extensions: xdebug + configuration: tests/phpunit.xml + env: + XDEBUG_MODE: coverage