From 8ab3a146783f51dbb25457bd9fa395c27cd69f54 Mon Sep 17 00:00:00 2001 From: thepercival Date: Fri, 12 Apr 2024 16:05:08 +0200 Subject: [PATCH] fix(github): actions --- .github/workflows/test.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) 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